logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: access logs are generating under /var/log/messages
Author
salton2007



Joined: 15 Aug 2012
Posts: 1
Location: Irvine,CA

PostPosted: Wed 15 Aug '12 21:38    Post subject: access logs are generating under /var/log/messages Reply with quote

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: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 16 Aug '12 17:26    Post subject: Reply with quote

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


Reply to topic   Topic: access logs are generating under /var/log/messages View previous topic :: View next topic
Post new topic   Forum Index -> Apache