Quantcast
Viewing all articles
Browse latest Browse all 60861

Re: Log file management


chaycock wrote:

How does the system manage the logs in /var/logs to keep them from filling up all of the disk space?

For example, I turned on dns logging, so the dnsmasq.log gets a lot of activity.  What will keep it from growing to the point of exhausting free all available free space?

 

I'm assuming /var/log is mounted on the internal USB and not a ramfs of some sort, correct?

 

 


Unless you've set logrotate up, nothing.

 

Honestly, if you're logging a lot, you'll do better to use a remote syslog with full depth (i.e. if you're logging at debug, make sure you've set logger to send debug to the remote server).

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles