logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <GGreg...@seagullsoftware.com>
Subject RE: will there be a parameterized message in log4j like it is in slf4j?
Date Mon, 05 Oct 2009 17:01:29 GMT

Can't we try a fresh start for a 1.3/2.0 again? Take 1.2.x as it is now and say make it 1.3
or 2.0 or whatever and require Java 5?

Gary 
________________________________________
From: Jess Holle [jessh@ptc.com]
Sent: Monday, October 05, 2009 9:52 AM
To: Log4J Developers List
Subject: Re: will there be a parameterized message in log4j like it is in slf4j?

Or I can keep using log4j :-)

And patch it myself as needed -- as it is indeed hard to get necessary
improvements into log4j 1.2.x at this point.  I have my own Java 5
specific changes to reduce locking, etc, at this point.

Ceki Gulcu wrote:
> Jess Holle wrote:
>> To be fair and clear, my usage requires that my both custom appenders
>> and layouts receive the message Object I pass, not just a string.
>> *This* is critical.  It is the difference between a logging system
>> being a simple string pipe and a /rich /log event data pump.  The
>> trappings as to how exactly this occurs are less important as long as
>> this capability remains and is very efficient.
> Jess,
>
> You should have a look at logback which is designed around the
> principle of specialized processing pipelines. There is logback-core,
> which is logging agnostic, and there is logback-classic (equivalent of
> log4j) and there is logback-access. The latter two are built on top of
> logback-core and are mostly specialized processing chains for events
> of type ILoggingEvent (logback-class) and of type AccessEvent
> (logback-access). Of course, this does not preclude passing arbitrary
> objects to logback-classic.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message