Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: access logs are generating under /var/log/messages |
|
Author |
|
salton2007
Joined: 15 Aug 2012 Posts: 1 Location: Irvine,CA
|
Posted: Wed 15 Aug '12 21:38 Post subject: access logs are generating under /var/log/messages |
|
|
I am not sure why I am getting all httpd logs under /var/log/messages. I have make sure the following changes under /etc/httpd/conf/httpd.conf and restarted "service httpd restart"
CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/access_log.%Y-%m-%d 86400" combined
CustomLog |/usr/local/bin/apache_syslog combined
Please help! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 16 Aug '12 17:26 Post subject: |
|
|
You should cd to /etc or /etc/httpd and do a grep (maybe you need root permission)
Code: |
sudo grep -n -R "/var/log/messages" *
|
|
|
Back to top |
|
|
|
|
|
|