home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Publisher's Toolbox 1.0
/
Image.iso
/
toolbox
/
whttpd14
/
support
/
logcycle.txt
< prev
next >
Wrap
Text File
|
1994-06-05
|
1KB
|
28 lines
logcycle is a program that sends a message to a running httpd
that causes it to cycle its logfile(s). The log is renamed
'.001', and older logs are renamed from '.001' to '.002' and so
forth. It will keep 30 old logs. The 31st is deleted.
If you include no command line options, it cycles the access log.
'-e' causes it to cycle the error log, '-a' causes it to cycle
the access log. Options can be combined (e.g., '-ae'). The httpd
server must be running.
NOTE: Don't cycle your access log if you are running wusage.
It assumes that all of the data is in the live access log.
You can use WinCron to automate periodic logfile cycling.
WinCron must be running at the time(s) you schedule cycles.
If you don't want to think about it, add it to the "load="
line in the "[windows]" section of your WIN.INI:
[windows]
...
load=c:\httpd\support\wincron.exe
...
There may already be programs set to load on startup.
If so, just add the pathname of WinCron to the existing
list, separated by a space.