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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user