logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <curt.arn...@comcast.net>
Subject Fwd: Logger methods...where's the message format from 1.3?
Date Fri, 10 Aug 2007 03:16:14 GMT



Begin forwarded message:

> From: Curt Arnold <curt.arnold@comcast.net>
> Date: August 9, 2007 9:49:26 PM CDT
> To: Log4J Users List <log4j-user@logging.apache.org>
> Subject: Re: Logger methods...where's the message format from 1.3?
>

> The "extras" companion for log4j contains two classes, LogMF and  
> LogSF, that provide parameterized logging for existing versions of  
> log4j.  The logMF class supports java.text.MessageFormat format  
> specifiers while LogSF supports the format specifiers used in log4j  
> 1.3.  There have been release candidates, but it hasn't been  
> released yet.  The release candidates are at http://people.apache.org/builds/logging/log4j

> .  If I misremembered or mistyped the URL check the log4j archives.   
> Would appreciate feedback on the extras (a lot of which are  
> backported log4j 1.3 stuff) plus the log4j 1.2.15 release candidates).
>
> On Aug 9, 2007, at 6:44 PM, "Jon Wilmoth" <JWilmoth@starbucks.com>  
> wrote:
>
>> I'm currently using 1.3 alpha 8 and recently downloaded 1.2.14 to  
>> see if
>> it was time to make the switch.  It appears that the message  
>> formatting
>> signatures (e.g. Logger.trace(String messagePattern, Object arg1,  
>> Object
>> arg2) ) are gone in the latest mainstream release.  I was just  
>> curious
>> what happened?  Has it been replaced by some other mechanism?  The  
>> alpha
>> 8 signatures would've been nice to also have a Object[] substitution
>> param, but the one and two substitution param args were workable.
>>
>> Thanks,
>> Jon
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message