cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


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

Re: CRONOLOG: Mod_cronolog ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Feb 05, 2003 at 08:08:23AM -0800, Jeff Bert wrote:
> This looks like st'd CRONOLOG and not mod_cronlog, no?
Exactly.
Bye for now,
Ward.
> 
> Jeff
> 
> > 
> > I have used it on error files for some time now.  My config for most 
> > instances is:
> > 
> >   ErrorLog "|/web/apache/libexec/cronolog_daily com err"
> >   CustomLog "|/web/apache/libexec/cronolog_hourly com log" combined
> > 
> > And cronolog_hourly/daily are wrapper scripts, like:
> > 
> > ------------------ cronolog_daily
> > #!/bin/sh
> > 
> > site=$1
> > type=$2
> > 
> > path=`dirname $0`
> > 
> > exec $path/cronolog -a /web/logs/apache/%Y/%m/%d/$site.$type
> > ------------------
> > 
> > ------------------ cronolog_hourly
> > #!/bin/sh
> > 
> > site=$1
> > type=$2
> > 
> > path=`dirname $0`
> > 
> > exec $path/cronolog -a /web/logs/apache/%Y/%m/%d/$site-%H.$type
> > ------------------
> > 
> > The reason for the scripts is because of how many instances I have to 
> > manage, this just makes it easier.  The reason for the hourly 
> > rotation 
> > is because of the size of the logfiles.  2003/02/04's logfiles 
> > (yesterday) on my two production servers add up to 136MB 
> > total.  I only 
> > rotate the error file daily because there are less errors :)
> > 
> > hope this helps.
> > 
> > -Brandon
> > 
> > 
> 
> 
Ward Vandewege.
- -- 
Pong.be         -( "Thanks, and THIS time it really is fixed. I mean, how  )-
Virtual hosting -( many times can we get it wrong? At some point, we just  )-
http://pong.be  -(     have to run out of really bad ideas.." -- Linus     )-
GnuPG public key: http://gpg.dtype.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE+QT/5qC3O5tzmh5wRAg+JAKCQlyUvLqb9Cy+f+CPGFD/ZCnf6WACfX3qi
o05Wol64NwgTERnNhBXg3JI=
=FhA8
-----END PGP SIGNATURE-----

Copyright © 1996-2010 Andrew Ford and Ford & Mason Ltd