cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: [proposal] deprecation logger
Date Wed, 02 Apr 2003 21:57:50 GMT
Sylvain Wallez wrote:

> Vadim Gritsenko wrote:
>
>> Sylvain Wallez wrote:
>>
...

>>> So I'm thinking about a global logger dedicated to deprecation 
>>> messages. This would allow to write all messages going to that 
>>> logger to e.g. a "deprecated.log" file.
>>
...

>>
>> Nice suggestion; but can't we just use WARN for deprecation warnings? 
>> In above-then-debug log setting these messages will be well noticable.
>
>
>
> Well, this is effectively much more simple ;-)
> But don't you think a special category getting all deprecation 
> warnings could be useful ? 


I think that's useful; just don't want to introduce new stuff only 
because of this... How about something among the lines of:

<deprecation-filter id="deprecation" log-level="WARN">
...
</deprecation-filter>


;-)

Vadim



Mime
View raw message