We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4366d5 + d294f9b commit bb59923Copy full SHA for bb59923
1 file changed
pkg/api/log.go
@@ -20,7 +20,7 @@ func NewLogger(config *Config) zerolog.Logger {
20
if config.Log.Output == "" {
21
log = zerolog.New(os.Stdout)
22
} else {
23
- file, err := os.OpenFile(config.Log.Output, os.O_WRONLY|os.O_CREATE, 0600)
+ file, err := os.OpenFile(config.Log.Output, os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600)
24
if err != nil {
25
panic(err)
26
}
0 commit comments