diff --git a/server.go b/server.go index 1795a0b..3e5a9e9 100644 --- a/server.go +++ b/server.go @@ -212,7 +212,7 @@ nextDirective: } if logName != "" { - loggerName := srvName + "_log" + loggerName := strings.Join(hosts, "-") + "_log" fileWriter := map[string]interface{}{ "filename": logName, }