minor changes/cleanup
This commit is contained in:
parent
de20ea3a2a
commit
8ef2a2547c
6 changed files with 56 additions and 16 deletions
|
|
@ -19,7 +19,7 @@ func NewLogger(file string) {
|
|||
log = stdlog.New(os.Stdout, "", stdlog.LstdFlags)
|
||||
return
|
||||
}
|
||||
f, err := os.OpenFile(file, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0644)
|
||||
f, err := os.OpenFile(file, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0640)
|
||||
if err != nil {
|
||||
stdlog.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue