Access log

This commit is contained in:
V2Ray
2015-10-09 17:43:27 +02:00
parent 09c76de65f
commit fc80d5e279
7 changed files with 107 additions and 0 deletions
+4
View File
@@ -55,6 +55,10 @@ func main() {
return
}
if config.LogConfig() != nil && len(config.LogConfig().AccessLog()) > 0 {
log.InitAccessLogger(config.LogConfig().AccessLog())
}
vPoint, err := core.NewPoint(config)
if err != nil {
log.Error("Failed to create Point server: %v", err)