build: move log rotator code
This commit is contained in:
3 files changed
+153
-54
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user