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 > Our Archives > General Archives > Servers > APACHE WEB SERVER LOG FILE

 
APACHE WEB SERVER LOG FILE
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Location: San Francisco, CA
Status: Offline
May 10, 2001, 10:00 PM
 
Does anyone know a quick way to access the server log file? I'm hosting a web site using the built-in Apache web server that came with OS X. This is for a graduate class project.

[This message has been edited by romyd (edited 05-10-2001).]
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
May 11, 2001, 03:38 AM
 
They could be almost anywhere. You need to find the httpd.conf file... in that file is defined where the log file is kept. Just do "locate httpd.conf" as a command in a terminal. The usual name for the acccess log file is "access_log". You could do "locate access_log". Mine are in:

/System/Library/RemoteAdminServer/Logs/access_log
/System/Library/RemoteAdminServer/Logs/error_log

There are many tools for processing the log files. Take a look on http://freshmeat.net for lots of free tools for condensing the logfiles in to something useful.

Other handy thing is to run:

"tail -f /System/Library/RemoteAdminServer/Logs/access_log"

when you want to troubleshoot.

-DU-...etc...
-DU-...etc...
     
 
   
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 11:29 PM.
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