fix(server): change log level for some unimportant messages
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
+2
-2
@@ -139,7 +139,7 @@ func schedulePeriodicScan(ctx context.Context) func() error {
|
|||||||
return func() error {
|
return func() error {
|
||||||
schedule := conf.Server.Scanner.Schedule
|
schedule := conf.Server.Scanner.Schedule
|
||||||
if schedule == "" {
|
if schedule == "" {
|
||||||
log.Warn(ctx, "Periodic scan is DISABLED")
|
log.Info(ctx, "Periodic scan is DISABLED")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -236,7 +236,7 @@ func schedulePeriodicBackup(ctx context.Context) func() error {
|
|||||||
return func() error {
|
return func() error {
|
||||||
schedule := conf.Server.Backup.Schedule
|
schedule := conf.Server.Backup.Schedule
|
||||||
if schedule == "" {
|
if schedule == "" {
|
||||||
log.Warn(ctx, "Periodic backup is DISABLED")
|
log.Info(ctx, "Periodic backup is DISABLED")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user