Move log cleaner from core to base module

This commit is contained in:
Daniel 2023-03-13 16:39:36 +01:00
parent dc5dd359bf
commit bf7ec722c2
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
package core package base
import ( import (
"context" "context"

View file

@ -38,5 +38,7 @@ func start() error {
log.Warningf("core: failed to load persisted metrics from db: %s", err) log.Warningf("core: failed to load persisted metrics from db: %s", err)
} }
registerLogCleaner()
return nil return nil
} }

View file

@ -68,8 +68,6 @@ func start() error {
return fmt.Errorf("failed to start plattform-specific components: %w", err) return fmt.Errorf("failed to start plattform-specific components: %w", err)
} }
registerLogCleaner()
return nil return nil
} }