I have a file in one of my file server named 'root' in /var/spool/mail. This does not grow beyond 50 MB. I would need to increase that to 100 MB, so that it can store more logs.
Basically it's a sync log file which is very important for us. I'm not a linux techie however I tried with the truncate command, but that serves me a different purpose. I also went through multiple articles here, but I couldn't get the answer I want. Please help!
Thanks in advance!
/var/spool/mail/root
is not a log file, but rather the mailbox for root. The majority of email messages are typically the email messages that get sent by by the cron daemon when a scheduled cron job generates standard output. I you want to properly log something, adjust the cron job to redirect the output you want to record to an actual log file.