1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-21 08:35:20 -05:00

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

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)