RE: [users@httpd] About Access Log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





From: TK [mailto:tkchiew@xxxxxxxxx]
Sent: Friday, November 18, 2005 2:03 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] About Access Log

Hi,
I'm running Apache 2.0 on Windows XP SP2. I have 2 questions about Apache access log.
 
1. How could I get a fine-grained time stamp for the time (%t) in millisecond?
 
2. Where (in httpd.conf file) should I place the TransferLog command so that I could rotate the log file (named as access.log)? My command line is as below:
    TransferLog "|  /bin/rotatelogs /logs/access 86400" 
    (Additional question: Is the duration (86400 s) counted based on a normal day (12am - 12am the next day) or from the moment the Apache server is started?)
 
 
Thanks.
 
 
1. don't know the answer to #1
 
 
2. CustomLog "|D:/WebCore2/Apache2/bin/rotatelogs.exe D:/WebCore2/Apache2/logs/history/commonLog.%Y-%m-%d-%H_%M_%S.log 86400 -300" combined
and It looks like mine is rotating every night at midnight.
 
Thanx
Aaron N Wagner
Monitoring Systems and Network Tools
CCO-Command Center Operations
804.515.6298
 
 
 
TK

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux