Bug 88926 - systemd-timesyncd : A way to limit log entries
Summary: systemd-timesyncd : A way to limit log entries
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-02 21:44 UTC by Tadej R
Modified: 2015-02-04 13:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Tadej R 2015-02-02 21:44:21 UTC
Hello,

I've been looking for a way to disable that many log entries for timesyncd. 

Since I'm running my system from a USB flash drive, I'd like to keep the logging very slim to ease on the drive wear. Currently timesyncd writes excessive logs all the time, for instance : 

Aug 28 04:26:03 pogo systemd-timesyncd[105]: interval/delta/delay/jitter/drift 2048s/+0.001s/0.066s/0.002s/+27ppm
Aug 28 05:00:11 pogo systemd-timesyncd[105]: interval/delta/delay/jitter/drift 2048s/-0.002s/0.061s/0.003s/+26ppm
Aug 28 05:34:19 pogo systemd-timesyncd[105]: interval/delta/delay/jitter/drift 2048s/+0.002s/0.066s/0.002s/+27ppm
Aug 28 06:08:27 pogo systemd-timesyncd[105]: interval/delta/delay/jitter/drift 2048s/-0.002s/0.063s/0.003s/+26ppm


Compared to rest of the entries this results as 80% of all daily logs. 

There are no specific options for timesyncd to be set. This bug report seems similar to 86292 (https://bugs.freedesktop.org/show_bug.cgi?id=86292), but the fix posted there doesn't resolve the logging entries. An option to limit or perhaps disable logging would be very beneficial.
Comment 1 Lennart Poettering 2015-02-04 13:47:58 UTC
The message is now downgraded from LOG_INFO to LOG_DEBUG, which should make the message go away during normal operation.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.