mirror of
https://github.com/safing/portmaster
synced 2025-09-14 16:59:40 +00:00
Move log cleaner from core to base module
This commit is contained in:
parent
dc5dd359bf
commit
bf7ec722c2
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
package core
|
package base
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue