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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
[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. |