mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
Access log
This commit is contained in:
1 parent
09c76de65f
commit
fc80d5e279
7 files changed
+107
No files matched your search
@@ -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