This is a discussion on log rotation weekly (for Windows) within the Apache Web Server forums, part of the Web Server and Related Forums category; Is there a program for Apache (windows), which can make a log-rotation on a weekly basis? (from monday to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Is there a program for Apache (windows), which can make a log-rotation on a
weekly basis? (from monday to sunday, then begin on a new log) I've tried www.cronolog.com but I can't seem to make it rotate the logs (access & error) on a weekly basis..... Does anybody know any other programs that can do this? or can somebody tell me how to make cronolog rotate the logs on a weekly basis Cronolog.exe d:\apache\logs\access%Y%W.log <--- I've tried this already, but i can't seem to get this to work.... :-( Any help would be appreciated... :-) |
|
|||
|
Have you tried this tool that comes with apache 1&2?:
http://httpd.apache.org/docs-2.0/pro...otatelogs.html Rach "sdf" <sdf@sdf.com> wrote in message news:0iDSa.107$s35.104@news.get2net.dk... > Is there a program for Apache (windows), which can make a log-rotation on a > weekly basis? (from monday to sunday, then begin on a new log) > > I've tried www.cronolog.com but I can't seem to make it rotate the logs > (access & error) on a weekly basis..... > > Does anybody know any other programs that can do this? or can somebody tell > me how to make cronolog rotate the logs on a weekly basis > > Cronolog.exe d:\apache\logs\access%Y%W.log <--- I've tried this already, > but i can't seem to get this to work.... :-( > > Any help would be appreciated... :-) > > |
|
|||
|
Just drop Windows, take a Debian 2.0
sdf a écrit: > sorry.. my fault... > eerr.... my server doesnt run 24/7... its runs more like 15/7..(15 hours a > day) :-( > > if my server had been running 24/7, i proberly would use Apache's own > log-rotation.. > x:\xxx\apache2\bin\rotatelogs.exe access.log 604800 common > > but I don't get that much traffic on my little webby (and thats why it's not > a 24/7 server)... so thats why i just wanna rotate the logs on a weekly > basis........:-( > > If any 'guru' out there knows how to do this.... i would appreciate it.. if > somebody would tell me how to do it... > > Rotate access and error logs on a windows apache server on a weekly basis... > on a server that only runs 15/7.. > > /Alex. > > > "rach" <kjkfjgndfjg.fgdfg@dfgdnfgdf.net> wrote in message > news:YeESa.26522$Nf.69990@sea-read.news.verio.net... > >>Have you tried this tool that comes with apache 1&2?: >>http://httpd.apache.org/docs-2.0/pro...otatelogs.html >> >>Rach >> >> >>"sdf" <sdf@sdf.com> wrote in message >>news:0iDSa.107$s35.104@news.get2net.dk... >> >>>Is there a program for Apache (windows), which can make a log-rotation > > on > >>a >> >>>weekly basis? (from monday to sunday, then begin on a new log) >>> >>>I've tried www.cronolog.com but I can't seem to make it rotate the logs >>>(access & error) on a weekly basis..... >>> >>>Does anybody know any other programs that can do this? or can somebody >> >>tell >> >>>me how to make cronolog rotate the logs on a weekly basis >>> >>>Cronolog.exe d:\apache\logs\access%Y%W.log <--- I've tried this > > already, > >>>but i can't seem to get this to work.... :-( >>> >>>Any help would be appreciated... :-) >>> >>> >> >> > > |
|
|||
|
In that case why not just use a batch file on a scheduled task while it's
down? Don't tell me you are running 9x/ME? Oh the humanity! Rach "sdf" <sdf@sdf.com> wrote in message news:VWPSa.80$nm2.26@news.get2net.dk... > sorry.. my fault... > eerr.... my server doesnt run 24/7... its runs more like 15/7..(15 hours a > day) :-( > > if my server had been running 24/7, i proberly would use Apache's own > log-rotation.. > x:\xxx\apache2\bin\rotatelogs.exe access.log 604800 common > > but I don't get that much traffic on my little webby (and thats why it's not > a 24/7 server)... so thats why i just wanna rotate the logs on a weekly > basis........:-( > > If any 'guru' out there knows how to do this.... i would appreciate it.. if > somebody would tell me how to do it... > > Rotate access and error logs on a windows apache server on a weekly basis... > on a server that only runs 15/7.. > > /Alex. > > > "rach" <kjkfjgndfjg.fgdfg@dfgdnfgdf.net> wrote in message > news:YeESa.26522$Nf.69990@sea-read.news.verio.net... > > Have you tried this tool that comes with apache 1&2?: > > http://httpd.apache.org/docs-2.0/pro...otatelogs.html > > > > Rach > > > > > > "sdf" <sdf@sdf.com> wrote in message > > news:0iDSa.107$s35.104@news.get2net.dk... > > > Is there a program for Apache (windows), which can make a log-rotation > on > > a > > > weekly basis? (from monday to sunday, then begin on a new log) > > > > > > I've tried www.cronolog.com but I can't seem to make it rotate the logs > > > (access & error) on a weekly basis..... > > > > > > Does anybody know any other programs that can do this? or can somebody > > tell > > > me how to make cronolog rotate the logs on a weekly basis > > > > > > Cronolog.exe d:\apache\logs\access%Y%W.log <--- I've tried this > already, > > > but i can't seem to get this to work.... :-( > > > > > > Any help would be appreciated... :-) > > > > > > > > > > > > |