https://bugzilla.redhat.com/show_bug.cgi?id=1834731
--- Comment #10 from Simone Caronni <negativo17(a)gmail.com> ---
(In reply to Robert-André Mauchin from comment #7)
Also create a logrotate file for the log:
https://docs.fedoraproject.org/en-US/packaging-guidelines/
#_logrotate_config_file
A couple of notes here:
- The log file after months of a running daemon is only 9.7 Mb, so I'm not sure
there is really any benefit here.
- When enabling -debug on the daemon, the -shrinkdebugfile is automatically set
to 1, so the log file is trimmed at startup.
So I see two options:
1. Add -shrinkdebugfile=1 to the systemd unit, so the log file is also trimmed
when NOT starting in debug mode
2. Add -shrinkdebugfile=0 to the systemd unit so the log file is never trimmed
even when debugging and then add the logrotate file.
I think solution 1 is better.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component