logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gulcu <lis...@qos.ch>
Subject Re: 1.3 {} notation available in 1.2.x?
Date Sun, 02 Sep 2007 20:38:53 GMT
Hi Dirk,

Have you considered using the SLF4J API? It supports log4j 1.2 as well as other 
logging systems. Moreover, you would not need to change your code since SLF4J
supports parameterized syntax you are currently using.

HTH,

dirk ooms wrote:
> Hi,
> 
> i was using log4j 1.3, but  i am moving back to 1.2.15 now. i often used the 
> {} symbols in my log statements, e.g. logger.info("blahblah {}", value);
> 
> 1.2.x does not seem to understand this. is there any extension to 1.2.x that 
> supports this notation?
> 
> cheers,
> dirk


-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch

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


Mime
View raw message