If I understand what you suggest configures all the printouts, meaning it is
either with the \n or without it.
What I'm wandering is if it is possible per logger function call to
determine whether after the message a '\n' will be printed or not.
thank you,
Rami
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:09 PM
To: Log4J Users List
Subject: RE: logging without a new-line
That much was clear.
The question is how do you set up log4j?
If you use the PatternLayout, just omit \n or the %n conversion specifier
in the conversion pattern.
At 14:02 26.12.2002 +0200, you wrote:
>I mean how do I get
>"Have a wonderful day.Have a wonderful day."
>
>not by doing
>logger.error( "Have a wonderful day.Have a wonderful day.");
>
>but by using 2 separate function calls. such as
>logger.error( "Have a wonderful day.");
>logger.error( "Have a wonderful day.");
>
>
> Have a wonderful day,
>
> Rami A.
--
Ceki
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>