Skip to content

Commit

Permalink
corrected bad log file path
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebedo committed Feb 10, 2016
1 parent 1a783f8 commit 2ad9732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cfdnsupdater/utils/loggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func InitLoggers(verbose bool, quiet bool, loggingMode LoggingMode) (err error)
format = logging.MustStringFormatter(`%{color}%{time:15:04:05.000} | %{level:.10s} ▶%{color:reset} %{message}`)
case Filelog:
var file *os.File
file, err = os.OpenFile(filepath.Join("/","tmp","cfdnsupdater"), os.O_RDWR|os.O_CREATE, 0600)
file, err = os.OpenFile(filepath.Join("/","var","log","cfdnsupdater"), os.O_RDWR|os.O_CREATE, 0600)
if err != nil {
return
}
Expand Down

0 comments on commit 2ad9732

Please sign in to comment.