"logconfig" has no effect
Christian Weiske
cweiske at cweiske.de
Sun Apr 27 14:59:09 UTC 2025
Hello,
I'm trying to reduce the information logged by ntpd, and tried many
"logconfig" settings in /etc/ntpsec/ntp.conf
But I am not even able to disable all logging with
> logconfig -allall
or
> logconfig -all
- the log messages are always the same and are not reduced. Every
couple of minutes I get:
>ntpd[1656]: DNS: dns_probe: 3.debian.pool.ntp.org, cast_flags:8,
> flags:101
>ntpd[1656]: DNS: dns_check: processing
> 3.debian.pool.ntp.org, 8, 101
>ntpd[1656]: DNS: Pool taking: 85.215.229.230
>ntpd[1656]: DNS: Pool taking: 185.252.140.126
>ntpd[1656]: DNS: Pool taking: 85.10.240.253
>ntpd[1656]: DNS: Pool taking: 176.9.157.155
>ntpd[1656]: DNS: dns_take_status: 3.debian.pool.ntp.org=>good, 8
>ntpd[1656]: DNS: dns_probe: 2.debian.pool.ntp.org, cast_flags:8,
> flags:101
>ntpd[1656]: DNS: dns_check: processing
> 2.debian.pool.ntp.org, 8, 101
>ntpd[1656]: DNS: Pool taking: 202.61.251.102
>ntpd[1656]: DNS: Pool taking: 129.70.132.37
>ntpd[1656]: DNS: Pool taking: 188.245.32.133
>ntpd[1656]: DNS: Pool taking: 94.16.122.152
>ntpd[1656]: DNS: Pool taking: 2603:c020:8017:3e06::123
>ntpd[1656]: DNS: Pool taking: 2a09:e1c1:efc2:1337::123
>ntpd[1656]: DNS: Pool taking: 2a01:4f9:c012:5e8a::1
>ntpd[1656]: DNS: Pool taking: 2a01:4f8:150:60c3::2
>ntpd[1656]: DNS: dns_take_status: 2.debian.pool.ntp.org=>good, 8
I'm running ntpsec on a Raspberry Pi 2 with Raspbian GNU/Linux 12
(bookworm) and ntpsec 1.2.2+dfsg1-1+deb12u1.
> # ntpd --version
> ntpd ntpsec-1.2.2
The command line that ntpsec runs is
> /usr/sbin/ntpd -p /run/ntpd.pid -c /etc/ntpsec/ntp.conf -g -N -u
> ntpsec:ntpsec
When reading the documentation at
https://docs.ntpsec.org/latest/ntp_conf.html#_miscellaneous_options,
I'd say that my "logconfig -allall" should work.
My goal is to minimize ntpd log messages and only see errors and maybe
time adjustments.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
More information about the users
mailing list