Hi,
On one of our server, the apache error log was logged in to the /var/log/messages file instead of default location /usr/local/apache/logs/error_log. Before, we use rsyslog to send the Apache error log to remote syslog server, then this log was starting to log into /var/log/messages file. I had removed this confg and restarted rsyslog/httpd services on several servers, only one server still send log to the /var/log/messages file. Those servers are using cloudlinux, most of the settings are identical. Any idea?
===/var/log/messages===
Jun 2 17:02:43 host httpd[558047]: [:error] [pid 558047] [client xxx.xxx.xxx.xxx:44350] File does not exist: /home/user/public_html/xmlrpc.php
On one of our server, the apache error log was logged in to the /var/log/messages file instead of default location /usr/local/apache/logs/error_log. Before, we use rsyslog to send the Apache error log to remote syslog server, then this log was starting to log into /var/log/messages file. I had removed this confg and restarted rsyslog/httpd services on several servers, only one server still send log to the /var/log/messages file. Those servers are using cloudlinux, most of the settings are identical. Any idea?
===/var/log/messages===
Jun 2 17:02:43 host httpd[558047]: [:error] [pid 558047] [client xxx.xxx.xxx.xxx:44350] File does not exist: /home/user/public_html/xmlrpc.php