fix(logger): wire logging.outputPath from config to logger (#866)

This commit is contained in:
irium
2026-05-11 10:47:00 +02:00
committed by GitHub
parent d031ba9824
commit 82aa9d9f33
+3 -2
View File
@@ -133,8 +133,9 @@ func realMain() int {
// 2. Initialize logger
log, err := logger.NewLogger(logger.LoggingConfig{
Level: cfg.Logging.Level,
Format: cfg.Logging.Format,
Level: cfg.Logging.Level,
Format: cfg.Logging.Format,
OutputPath: cfg.Logging.OutputPath,
})
if err != nil {
fmt.Fprintf(os.Stderr, "Failed to initialize logger: %v\n", err)