cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: [C2 patch] appending to cocoon.log
Date Tue, 21 Aug 2001 05:41:47 GMT
Hi, Marcus and all!

> Hi Vadim,
>
> On Sat, 18 Aug 2001, Vadim Gritsenko wrote:
>
> > Hm. Interesting question. :)
> > I just modified this so it's compatible with other boolean settings.
> > "True" might be overkill - next thing you know people will ask about
internationalization ;)
>
> *nod* Point taken.
>
> I just noticed that log-format and show-time use equalsIgnoreCase() so
> we already have a discrepancy there. :-(
>
> Just being picky herer, but the other thing is that (general with most
> of the options):
>
> true equates to true, as expected
> false equates to false, as expected
>
> with the current implementation,
>
> False also equates to false, as most would probably expect
> FALSE also equates to false, as most would probably expect
>
> but
>
> True equates to false, not what most would expect
> TRUE equates to false, not what most would expect
>
> This could cause some configuration woes for the unwary.
>
> Another general question here, the current implementation appends to
> log files if the init parameter is not set (ie. if
> getInitParameter("log-append") returns null) - do we want this to be
> the case ?

Is it possible to have log files like in Tomcat (and Apache Web Server as
well), when the log file name includes the time of creation or some other
unique ID? In my opinion, there must be an option like 'create-new' (or do
it by default, if no 'log-append' param found). In that case, your old log
files won't be rewritten if you restart the server and you'll get a new log
file for every instance (server restart).

>
> Cheers,
>
> Marcus
>

Regards,
    Konstantin Piroumian

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message