|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: CRONOLOG: mod_cronolog status report
I have not looked at Apache 2.0 in detail yet (what an admission for the author of a book on Apache!). There are bound to be changes, but I would like to get the module working under 1.3 before worrying too much about 2.0. As mod_cronolog is fairly closely based on mod_log_config, looking at the changes in that module should indicate what needs to be done for the cronolog module. Andrew Ellis Teer writes: > I do not how much of an impact it might make. But I know module writing is > different in Apache 2.0. I assume the old modules can be ported to the new > apache? > > -Ellis Teer > > On Fri, 29 Jun 2001 16:49:31 +0100 (BST), wrote: > >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 > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/
|