build: move log rotator code

This commit is contained in:
Oliver Gugger committed 2019-10-14 14:56:31 +02:00
1 parent 3ea74c4362
commit d3995a73ae
3 files changed
+153 -54

No files matched your search

+2 -1
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