Access log

This commit is contained in:
V2Ray committed 2015-10-09 17:43:27 +02:00
1 parent 09c76de65f
commit fc80d5e279
7 files changed
+107

No files matched your search

+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)