You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by Ivan Habunek <iv...@gmail.com> on 2012/03/16 10:37:36 UTC

Deprecate LoggerLayoutTTCC

Hi all,

It's my opinion that the TTCC layout should be deprecated. My reasons are:
1. The name is confusing - uses the terms "category" inherited from
log4j, and "thread" which makes no sense in PHP
2. The implementation is not very nice, uses 4 configuration options
which offer some possibility of customization, but much less than the
Pattern layout.
3. It can very easily be replaced by the Pattern layout.

I propose to add a deprecation notice to the layout and remove it some
time in the future, after users have had time to adapt (i.e. it would
_not_ be deleted right away in 2.3). Also I would create a mini guide
how to replace it with the Pattern layout on the layout doc page.

Please say if you object to this or have some other suggestion.

Regards,
Ivan

Re: Deprecate LoggerLayoutTTCC

Posted by Christian Grobmeier <gr...@gmail.com>.
+1
good arguments, lets deprecate it

On Fri, Mar 16, 2012 at 10:37 AM, Ivan Habunek <iv...@gmail.com> wrote:
> Hi all,
>
> It's my opinion that the TTCC layout should be deprecated. My reasons are:
> 1. The name is confusing - uses the terms "category" inherited from
> log4j, and "thread" which makes no sense in PHP
> 2. The implementation is not very nice, uses 4 configuration options
> which offer some possibility of customization, but much less than the
> Pattern layout.
> 3. It can very easily be replaced by the Pattern layout.
>
> I propose to add a deprecation notice to the layout and remove it some
> time in the future, after users have had time to adapt (i.e. it would
> _not_ be deleted right away in 2.3). Also I would create a mini guide
> how to replace it with the Pattern layout on the layout doc page.
>
> Please say if you object to this or have some other suggestion.
>
> Regards,
> Ivan



-- 
http://www.grobmeier.de
https://www.timeandbill.de