From 9eefc05476dd2efb180dd33c9ce44043266e06e8 Mon Sep 17 00:00:00 2001 From: Rodolfo Olivieri Date: Mon, 24 Jul 2023 15:42:45 -0300 Subject: [PATCH] Use LogFileName instead of LogDir for logger filename Signed-off-by: Rodolfo Olivieri --- src/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.go b/src/main.go index dd5c50f..0f95488 100644 --- a/src/main.go +++ b/src/main.go @@ -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.