Use %3p for the first 3 characters of the priority.

[]'s
Daniel Serodio

On Mon, 2003-02-03 at 11:43, Abramson, Rami wrote:
> Hello,
> 
> How is it possible in the property file to define a layout that outputs only
> the first 3 characters of the priority?
> 
> Output lines for example,
> 
> DEB This is a test of DEBUG...
> FAT  This is a test of FATAL...
> 
> Instead of receiving,
> DEBUG This is a test of DEBUG...
> FATAL  This is a test of FATAL...
> 
> if we use:
> log4j.appender.dest1.layout.ConversionPattern=%-5p %m%n
> 
>       thank you,
> 
>               Rami A.
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Daniel Serodio <[EMAIL PROTECTED]>
CheckForte


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

Reply via email to