mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:45:07 -05:00
reference: shorten logchange log message
Remove the "adjustment started" part from the "System clock wrong by * seconds, adjustment started" log message as it might be confusing in some cases. There may be a step instead of a slow adjustment, or there may be no adjustment at all when running with the -x option.
This commit is contained in:
@@ -489,8 +489,7 @@ maybe_log_offset(double offset, time_t now)
|
|||||||
abs_offset = fabs(offset);
|
abs_offset = fabs(offset);
|
||||||
|
|
||||||
if (abs_offset > log_change_threshold) {
|
if (abs_offset > log_change_threshold) {
|
||||||
LOG(LOGS_WARN, "System clock wrong by %.6f seconds, adjustment started",
|
LOG(LOGS_WARN, "System clock wrong by %.6f seconds", -offset);
|
||||||
-offset);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (do_mail_change &&
|
if (do_mail_change &&
|
||||||
|
|||||||
Reference in New Issue
Block a user