Is there a way to change the path/folder for /var/log/message?
Question: How do I redirect the system log file(s) stored in "/var/log/messages" to a different path/folder?
Answer:
1. Create a directory where you would like the logs to be written to.
# mkdir /tmp/Centrifylog
2. In the rsyslog configuation file “/etc/rsyslog.conf”, replace the “/var/log/messages” with the new directory name. For example, replace the /var/log (path) below to the created folder/path called /tmp/Centrifylog: