logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess Holle <je...@ptc.com>
Subject Re: will there be a parameterized message in log4j like it is in slf4j?
Date Mon, 05 Oct 2009 16:52:29 GMT
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


Mime
View raw message