Skip to content

Commit

Permalink
Package Logger
Browse files Browse the repository at this point in the history
- add missing options in default json
  • Loading branch information
nabbar committed Sep 4, 2024
1 parent 9cd0ad0 commit a535f63
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions logger/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ var _defaultConfig = []byte(`
"disableStack":false,
"disableTimestamp":false,
"enableTrace":true,
"disableColor":false
"disableColor":false,
"enableAccessLog": false
},
"logFile":[
{
Expand All @@ -60,9 +61,11 @@ var _defaultConfig = []byte(`
"createPath":false,
"fileMode":"0644",
"pathMode":"0755",
"file-buffer-size": "32KB",
"disableStack":false,
"disableTimestamp":false,
"enableTrace":true
"enableTrace":true,
"enableAccessLog": false
}
],
"logSyslog":[
Expand All @@ -82,7 +85,8 @@ var _defaultConfig = []byte(`
"tag":"",
"disableStack":false,
"disableTimestamp":false,
"enableTrace":true
"enableTrace":true,
"enableAccessLog": false
}
]
}`)
Expand Down

0 comments on commit a535f63

Please sign in to comment.