mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Create main log with 640 permissions, leave all other logs the same. (#2402)
Co-authored-by: Julio <julio.martinez@featurebase.com>
This commit is contained in:
parent
581a4d19a4
commit
3f91cc3dd1
1 changed files with 1 additions and 1 deletions
|
|
@ -737,7 +737,7 @@ func (m *Command) setupLogger() error {
|
|||
var f *logger.FileWriter
|
||||
var err error
|
||||
if m.Config.LogPath != "" {
|
||||
f, err = logger.NewFileWriter(m.Config.LogPath)
|
||||
f, err = logger.NewFileWriterMode(m.Config.LogPath, 0640)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "opening file")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue