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]

CRONOLOG: mod_cronolog status report



A further status update: with the cache initialization coded the
module does indeed seem to be working -- the log files are being
rotated without extra processes and roll over -- I haven't stress
tested it yet but it's looking good.
One difference in behaviour I've realized is that rotated log files
are now created with the file's owner being the user specified with
the "User" directive, rather than the user that Apache is started by
(normally root).  This might have some security implications in that
the log directory will have to be writeable by this user, which is
also the user that CGI scripts will normally be run as.
Andrew
andrew@xxxxxxxxxxxxxxxxxx writes:
 > 
 > A quick status update: the first version of mod_cronolog is coded and
 > it works!  
 > 
 > Err, let me just qualify that a little...
 > 
 > Mod_cronolog is based on mod_log_config and the functionality of
 > mod_log_config works, i.e. TransferLog, CustomLog, etc, including
 > piped logs.  Specifying a log file with strftime characters results in
 > core dumps.  
 > 
 > However it is a big step forward and I will try and get some debugging
 > done this weekend and hopefully get a version out to those people who
 > volunteered to test it next week.
 > 
 > The module used a least recently used cache of file descriptors for
 > rotated logs.  The cache is not used for log files that are not
 > rotated.  The size of the cache is configurable with a
 > CronoLogCacheSize directive.
 > 
 > Actually while writing this I've just realized that I haven't coded
 > the initialization of the cache, which would explain this core dump.
 > 
 > Stay tuned for futher developments...
 > 
 > Andrew
 > -- 
 > Andrew Ford,  Director       Ford & Mason Ltd             Tel: +44 1531 829900
 > A.Ford@xxxxxxxxxxxxxxxx      South Wing, Compton House    Fax: +44 1531 829901
 > http://ford-mason.co.uk      Compton Green, Redmarley  Mobile: +44 7785 258278
 > http://pauntley-press.co.uk  Gloucester, GL19 3JB
 > http://refcards.com          Great Britain

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