Save value of configLogPath in ConfigLoogger in logging module for later use in GetLogWriter
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Berengar W. Lehr 2023-09-27 15:35:27 +02:00
parent 5af348dbe1
commit e5ebc6ede6
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ func ConfigLogger(configLogEnabled bool, configLogStandard string, configLogPath
Fatalf("Error setting standard log level %s: %s", lvl, err.Error())
}
logPath = configLogPath
// The backend is the part which actually handles logging the log entries somewhere.
var backend logging.Backend
backend = &NoopBackend{}