-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> -----Original Message-----
> From: Eric Jain [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 22, 2002 12:36 PM
> To: log4j-user
> Subject: Re: LogFactor5 feature request


> Thanks, sounds exactly like what I need. Unfortunately I couldn't 
> get it to
> work yet, must be something wrong with my configuration file. Any
> ideas (perhaps the layout class attribute)?
> 
>  <appender name="LF5Appender"
> class="org.apache.log4j.lf5.LF5Appender"> 
>   <param name="MaxNumberOfRecords" value="1000"/>
>   <layout class="org.apache.log4j.PatternLayout">
>    <param name="ConversionPattern" 
> value="[slf5s.start]%d{DATE}[slf5s.DATE]
> %p[slf5s.PRIORITY] %c[slf5s.CATEGORY] %X{system}[slf5s.NDC]
> %m[slf5s.MESSAGE]%n"/>
>   </layout>
>  </appender>


note that in %X{system}, 'system' is the name of the parameter you
added to the mdc.
i suspect that you don't have that in your mdc, in which case you
will just get an empty string.

rick

|-
| peter riegersperger  <[EMAIL PROTECTED]>
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|-

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
Comment: public key available at http://home.subnet.at/rick/pgp/

iQA/AwUBPWTXQyDD9/SWDsvSEQKUEACg9zegAsmnao3zjLHS1+R1ZQ7b8bMAn1bw
3K1qWHZZDVmLzOR2JhiysKwa
=KkRc
-----END PGP SIGNATURE-----


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to