diff --git a/server/service/apple_mdm.go b/server/service/apple_mdm.go index 6f6001a496..21fb5551d5 100644 --- a/server/service/apple_mdm.go +++ b/server/service/apple_mdm.go @@ -2819,7 +2819,7 @@ func ReconcileAppleDeclarations( } if len(changedHosts) == 0 { - logger.Log("msg", "no hosts with changed declarations") + level.Info(logger).Log("msg", "no hosts with changed declarations") return nil } @@ -2828,7 +2828,7 @@ func ReconcileAppleDeclarations( return ctxerr.Wrap(ctx, err, "issuing DeclarativeManagement command") } - logger.Log("msg", "sent DeclarativeManagement command", "host_number", len(changedHosts)) + level.Info(logger).Log("msg", "sent DeclarativeManagement command", "host_number", len(changedHosts)) return nil } diff --git a/server/worker/macos_setup_assistant.go b/server/worker/macos_setup_assistant.go index cf206c9ff5..3850adc641 100644 --- a/server/worker/macos_setup_assistant.go +++ b/server/worker/macos_setup_assistant.go @@ -384,7 +384,7 @@ func ProcessDEPCooldowns(ctx context.Context, ds fleet.Datastore, logger kitlog. return ctxerr.Wrap(ctx, err, "getting cooldowns") } if len(serialsByTeamId) == 0 { - logger.Log("msg", "no cooldowns to process") + level.Info(logger).Log("msg", "no cooldowns to process") return nil } @@ -394,7 +394,7 @@ func ProcessDEPCooldowns(ctx context.Context, ds fleet.Datastore, logger kitlog. logger.Log("msg", "no cooldowns", "team_id", teamID) continue } - logger.Log("msg", "processing cooldowns", "team_id", teamID, "serials", serials) + level.Info(logger).Log("msg", "processing cooldowns", "team_id", teamID, "serials", serials) var tid *uint if teamID != 0 {