homepage Welcome to WebmasterWorld Guest from 54.161.192.130
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Log file locations
Lindsey Kuper

10+ Year Member



 
Msg#: 893 posted 4:19 am on Jan 18, 2004 (gmt 0)

Hi, I'm new around here. =)

I've started mucking around with my log files and I've noticed that by default, the same logs are written to /var/log/httpd/ and /etc/httpd/logs/. Why does Apache do this, and should I care?

Thanks.

 

robho

10+ Year Member



 
Msg#: 893 posted 8:45 am on Jan 18, 2004 (gmt 0)

Welcome to Webmaster World, Lindsey! (not sure if just anybody can say that or if it should be an official welcome by a moderator, but welcome anyway!)

Those "two" versions you're seeing are two ways of describing the same files. In Redhat Linux for example (which you might be using) the directory "/etc/httpd/logs" is a symbolic link to /var/log/httpd - i.e. an alternate name for that directory.

So there's only one copy really, and it only uses one lot of space. If you have shell access to the server, you can see this with the command "ls -l /etc/h*".

Lindsey Kuper

10+ Year Member



 
Msg#: 893 posted 10:45 pm on Jan 18, 2004 (gmt 0)

Ah, thanks. *hits forehead* I didn't even think of that.

Oh, and this is my own web server, sitting here next to me, so yeah, I guess you could say I have shell access. ;)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved