Reverse the coupling of module log and config #1606
|
@ -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
Block a user