build: move log rotator code

This commit is contained in:
Oliver Gugger
2019-09-20 16:01:31 +02:00
parent 3ea74c4362
commit d3995a73ae
3 changed files with 153 additions and 54 deletions

View File

@@ -958,10 +958,11 @@ func loadConfig() (*config, error) {
}*/
// Initialize logging at the default logging level.
/*TODO(guggero) fix
initLogRotator(
filepath.Join(cfg.LogDir, defaultLogFilename),
cfg.MaxLogFileSize, cfg.MaxLogFiles,
)
)*/
// Parse, validate, and set debug log level(s).
/*TODO(guggero) fix