logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergiy Michka ...@h3c.de>
Subject Re: How to use %F %L?
Date Mon, 28 Jun 2004 13:16:34 GMT
Sergiy Michka wrote:

> Yiannis Feidaros wrote:
> 
>> Hi all,
>>
>> The conversion characters (%F: %L) return (:-1) when using them. What 
>> might be wrong?
>> I' using the "trivial" example bundled with the download package. 
>> Below is the code:
> 
>  >...
> 
> Hi Yiannis,
> 
> I have the same problem (NT 4, MSVC6, Log4Cxx 0.9.7)
> My config file looks like this:
> 
> log4j.rootLogger=debug, R
> log4j.appender.R=org.apache.log4j.RollingFileAppender
> log4j.appender.R.File=logfile.log
> log4j.appender.R.MaxFileSize=10KB
> log4j.appender.R.MaxBackupIndex=10
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
> 
> Any idea?

Sorry, I read the answer (LOG4CXX_ macros) to late..

Mime
View raw message