MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] How do you deal with stats?



Larry,
Yes I use a motified version of that to rotate the logs out to another dir which 
I then resolve and parse with webalizer (all via cron) but when you rotate you 
have to restart apaceh to create the new access and error files.  It is this 
short time frame I am concerned about and am probably just doing it wrong 
as I dont recall that issue every being raised...

Thanks
Rob
-----
> Hi Rob -
> 
> > At early morning EST I turn off Apache just long enough to rotate the
> > log files so I can parse them and feed the data to webalyzer which is
> > what I use for my clients.
> 
> Have you looked at the "rotatelogs" program that comes with Apache?
> 
> If you do something like this:
>    TransferLog "| bin/rotatelogs logs/access_log 86400"
>    ErrorLog    "| bin/rotatelogs logs/error_log  86400"
> then apache will automatically create timestamped log file names and roll
> them over every 86400 seconds (one day).
> 
> (Note: I showed relative pathnames above for clarity, but you may need to
> use absolute pathnames.) 
> 
> 
> Larry Leszczynski
> larryl@furph.com
> --
>   furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
> info@furph.com	   http://www.furph.com		734-513-7759 (FAX)
> 
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
> Majordomo@minivend.com. Archive of past messages:
> http://www.minivend.com/minivend/minivend-list
> 




Search for: Match: Format: Sort by: