Skip to content

Commit

Permalink
fix a bug in the generation of loggers and mapping loggers to host names
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed90 committed Sep 7, 2020
1 parent 07c7d20 commit ec5e4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ nextDirective:
}

if logName != "" {
loggerName := srvName + "_log"
loggerName := strings.Join(hosts, "-") + "_log"
fileWriter := map[string]interface{}{
"filename": logName,
}
Expand Down

0 comments on commit ec5e4b0

Please sign in to comment.