Linux Logs¶
Client versions
- 3.0.0
- 3.0.1
- 3.0.2
Under systemd, the logs are written to syslog.
For all other logging information, refer to the Linux how-to.
Syslog configuration¶
On some distributions (for example, Raspberry Pi OS), messages may be
duplicated between /var/log/syslog
and /var/log/daemon.log
. This is an
effect of the default rsyslog configuration. To disable this behaviour:
-
Edit
/etc/rsyslog.conf
and comment out the following line with a#
, as shown:Note
On some distributions, such as Ubuntu, this is already commented out.
-
Restart Syslog:
Log rotation¶
On some distributions, the syslog may need rotating more frequently than the default of once per week. This can be adjusted:
-
Edit
to/etc/logrotate.d/rsyslog
and change: -
Restart Logrotate with
It is also possible to rotate logs based on size. Please consult the Logrotate documentation for further info.