Have tried it and it does not work. Have you tried it? thank you,
Rami -----Original Message----- From: Daniel Serodio [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:47 PM To: Log4J Users List Subject: Re: How to truncate characters in the layout of priority 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]