I have been doing a lot of works on machines running CentOS 6.5 lately. The debug logging was not enabled by default. Here is how to enable it.
- Use a text editor to edit this file /etc/rsyslog.conf.
- Insert this line
*.debug                   /var/log/debug
- Save the file
- Restart the service by running this command
sudo /sbin/service rsyslog restart
After the rsyslog service has been restarted, you can check this file /var/log/debug for debugging info.
This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.
Leave a Reply