Skip to content

Commit

Permalink
Merge pull request #52 from r0x0d/fix-log-filename
Browse files Browse the repository at this point in the history
Use LogFileName instead of LogDir for logger filename
  • Loading branch information
andywaltlova authored Jul 25, 2023
2 parents 281b85f + 9eefc05 commit ac4c4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
config = loadConfigOrDefault(configFilePath)
log.Infoln("Configuration loaded: ", config)

logFile := setupLogger(*config.LogDir, *config.LogDir)
logFile := setupLogger(*config.LogDir, *config.LogFileName)
defer logFile.Close()

// Dial the dispatcher on its well-known address.
Expand Down

0 comments on commit ac4c4c1

Please sign in to comment.