mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Log when ABM terms have changed without requiring debug logging (#14712)
This commit is contained in:
parent
508d65d49e
commit
d0f276cd75
2 changed files with 2 additions and 1 deletions
1
changes/issue-13012-log-abm-terms-change
Normal file
1
changes/issue-13012-log-abm-terms-change
Normal file
|
|
@ -0,0 +1 @@
|
|||
* Modified logging of when the Apple Business Manager terms have changed so that it does not require debug logging.
|
||||
|
|
@ -598,7 +598,7 @@ func NewDEPClient(storage godep.ClientStorage, appCfgUpdater fleet.AppConfigUpda
|
|||
if err := appCfgUpdater.SaveAppConfig(ctx, appCfg); err != nil {
|
||||
level.Error(logger).Log("msg", "Apple DEP client: failed to save app config", "err", err)
|
||||
}
|
||||
level.Debug(logger).Log("msg", "Apple DEP client: updated app config Terms Expired flag",
|
||||
level.Info(logger).Log("msg", "Apple DEP client: updated app config Terms Expired flag",
|
||||
"apple_bm_terms_expired", appCfg.MDM.AppleBMTermsExpired)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue