New answers tagged

2 votes

My auth.log file, size is quite huge. How can I reduce it? Will trucate command work?

Investigate logrotate (man logrotate;less /etc_logrotate.conf. logrotate knows how to coordinate with the logging process to avoid the "unlinked but active" problem.
waltinator's user avatar
  • 36.3k
2 votes

My auth.log file, size is quite huge. How can I reduce it? Will trucate command work?

Yes that will work. Maybe compress it if you want to keep it? It will end up about 10% of the original file. sudo -i cd /var/log/ gzip auth.log.gz auth.log and then do > /var/log/auth.log (or ...
Rinzwind's user avatar
  • 299k
-1 votes

var/log/syslog growing indefinitely in size

Installing shurfshark snap made my syslog max out my hard drive in a day. Uninstalled and it appears to be stable in size now.
mkd's user avatar
  • 9

Top 50 recent answers are included