Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Apache log files

Apache log files
Thread Tools
Registered User
Join Date: Sep 2000
Location: Cardiff, UK
Status: Offline
Reply With Quote
Feb 14, 2003, 03:33 AM
 
Where are the log files for apache stored in OSX? I'm running a small website from my Mac and wanted to see the log output.

Also how can you check that logging is running (aside from finding the log files! ).

Thanks

DAlex
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Feb 14, 2003, 05:48 AM
 
/var/log/httpd/access_log and /var/log/httpd/error_log

A simple [b]tail /var/log/httpd/access_log[/url] will show you the last few lines from the log file.

Once you're into looking at your logs, you might want to switch to the "combined" format, which puts your referer and user agent data all on one line. You can do this by editing the Apache config file at /etc/httpd/httpd.conf.

You might look into installing Webalizer if you want to see nifty stats.
     
DAlex  (op)
Registered User
Join Date: Sep 2000
Location: Cardiff, UK
Status: Offline
Reply With Quote
Feb 14, 2003, 02:47 PM
 
Thanks, but none of those files show up when I do a search (the access_log does come up, but it is the one for the QTSS I'm running).

Any other ideas? Apache is running because I'm serving pages!

DAlex
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:40 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2