httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiongfei Wang <wan...@arches.uga.edu>
Subject RE: [users@httpd] RotateLogs
Date Thu, 23 Jan 2003 14:10:20 GMT
On Thu, 23 Jan 2003, Koen Vingerhoets wrote:

Thanks. 
please email your script to 
jzhu@forestry.uga.edu

J.P.

> Hi!
> 
> with the help of users on this list, I managed to write a vbs scripts that
> - rotates logs
> - mails the most recent log file
> - runs as a scheduled task
> If you want it, just gimme a ring (or mail ;)
> 
> Koen
> 
> 
> -----Original Message-----
> From: William A. Rowe, Jr. [mailto:wrowe@rowe-clan.net]
> Sent: 23 January 2003 04:01
> To: users@httpd.apache.org
> Cc: users@httpd.apache.org
> Subject: Re: [users@httpd] RotateLogs
> 
> 
> At 08:47 PM 1/22/2003, Ladislav Sedivy wrote:
> >Selmer Ausland wrote:
> >> 
> >> NP Ladislav, I had to #
> >> 
> >> # CustomLog "|D:/Apache2/bin/rotatelogs.exe D:/logs/access_log 86400"
> >> common
> >> # TransferLog "|D:/Apache2/bin/rotatelogs.exe D:/logs/access_log 86400"
> >> 
> >> and revert back to
> >> 
> >> CustomLogs logs/access.log common
> >> 
> >> Access log was not working at all with the above.
> >> 
> >> Is this a bug in Apache 2.0.44? or ?????
> >> 
> >> Error log portion works. Any ideas?
> >> 
> >> Thanks. Selmer
> >
> >These are exactly my findings.  I even rebuilt rotatelogs.exe from
> >2.0.43 sources to no avail.  It definitely looks like a bug in 2.0.44
> >server.  I'm just surprised nobody mentioned it yet.
> 
> Theory:
> 
> The logging code now trys to lock the resource (file) to prevent the
> parent and child process (or multiple child processes, when we get
> there) from overwriting one another's entries.
> 
> I say trys because I'm not certain what exactly will happen when that
> resource is a pipe and not a file.
> 
> Researching.
> 
> Bill
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message