Save value of configLogPath in ConfigLoogger in logging module for later use in GetLogWriter
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
5af348dbe1
commit
e5ebc6ede6
|
@ -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{}
|
||||
|
|
Loading…
Reference in New Issue