log rotation weekly (for Windows)

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-20-2003
sdf
 
Posts: n/a
Default log rotation weekly (for Windows)

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... :-)


  #2 (permalink)  
Old 07-20-2003
rach
 
Posts: n/a
Default Re: log rotation weekly (for Windows)

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... :-)
>
>



  #3 (permalink)  
Old 07-21-2003
Florent
 
Posts: n/a
Default Re: log rotation weekly (for Windows)

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... :-)
>>>
>>>

>>
>>

>
>


  #4 (permalink)  
Old 07-21-2003
rach
 
Posts: n/a
Default Re: log rotation weekly (for Windows)

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... :-)
> > >
> > >

> >
> >

>
>



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0