Apache Server Logging

This is a discussion on Apache Server Logging within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello, I am working on a reporting mechanism that uses the apache server logs. For this I have added the ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-02-2005
Vj
 
Posts: n/a
Default Apache Server Logging

Hello,

I am working on a reporting mechanism that uses the apache
server logs.
For this I have added the following lines in the httpd.conf

CustomLog "|/hta/apache/cronolog/sbin/cronolog --period=5minutes
/hta/apache/var/logs/EDW/access_log_%Y%m%d%H%M.log" common env=!dontlog

The problem I am facing is that the lgos are getting created with
"root" permissions. I need to delete these logs after getting the
reports ready.
Can you please give me any suggestions on how to go about this?

Thanks and Regards
Vijay

  #2 (permalink)  
Old 06-07-2005
Andy Davidson
 
Posts: n/a
Default Re: Apache Server Logging

[Vj wrote in comp.infosystems.www.servers.unix]
> I am working on a reporting mechanism that uses the apache
> server logs.
> CustomLog "|/hta/apache/cronolog/sbin/cronolog --period=5minutes
> /hta/apache/var/logs/EDW/access_log_%Y%m%d%H%M.log" common env=!dontlog
> The problem I am facing is that the lgos are getting created with
> "root" permissions.


Which user does apache run as ? If root, then this is why ..


--
http://fotoserve.com/ -
Superb hand-checked AGFA prints, bright sharp posters,
strong block canvas prints, unique picture bags and gifts
..... from your own digital images.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0