So that is my question. I googled it but nothing came. I see that the logs I have only covers 24 hours (if the time is not wrong, because it resets on every boot)
So that is my question. I googled it but nothing came. I see that the logs I have only covers 24 hours (if the time is not wrong, because it resets on every boot)
Logs are controlled by
logrotate
. It keeps a configurable number of*.log.1
,*.log.2.gz
, ... files (compressing old ones).See
man logrotate
,/etc/cron.daily/logrotate
and/etc/logrotate.conf
.Reading logs can most easily be done with
journalctl
- seeman journalctl
, and this article