change /var/log destination
Hello,
I would like to change the filesystem where log files will go (everything that goes into /var/log ).
When I installed Redhat, I didn't setup /var filesystem and now I would like it, but don't think its possible now as the /var directory is under the / filesystem. I worry about if there is a problem and logs fill up my root filesystem. Is there anyway to tell logs for messages, mail and secure to go in another filesystem if I create it? I would think there is some config file in /etc/ or something that tells where log files are put.
Any ideas are much appreciated.
Thanks!
Nigel
|