I have server with RHEL 6 and rsyslog-5.8 and Apache/2.2.23, I sent the access and error logs to syslog server but the syslog adds information in logs such as date and hostname:
Jun 5 14:17:28 (hostname) httpd: [error] [client XXXX] File does not exist: /usr/local/apache2/htdocs/file
How can keep the log as it is without any additional information from syslog?
Don’t log to syslog.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.