hi james

how do u get action class and path printed with Debug
statements..tell me that...

for ur sugg,better change the conversion pattern..

regards
sathish
--- James Radvan <[EMAIL PROTECTED]> wrote:
> Hi, I'm having trouble with log4j 1.2.8 with a
> ConsoleAppender.  I'm getting
> all my sequential log4j outputs to the same line of
> the console, rather than
> 1 per line.
> Here is my log4j.properties:
> 
> log4j.rootLogger=DEBUG, A1
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
>
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
> log4j.appender.A1.layout.ConversionPattern=%-5p %37c
> %3x - %m
> 
> And a sample line of console output:
> DEBUG
>
net.novium.transact.tactontestharness.actions.TactonTestAction
>     -
> Quote title: Crown-Select-2Prods-3Subconts-001DEBUG
>
net.novium.transact.tactontestharness.actions.TactonTestAction
>     - Exiting
> method processRunDEBUG
>
net.novium.transact.tactontestharness.actions.TactonTestAction
>     - Task:
> runDEBUG
>
novium.transact.tactontestharness.actions.TactonTestAction
>     - Exiting
> method execute.
> 
> Notice how multiple log4j statements are on the same
> line.
> 
> I'm using WSAD 5.1 (Eclipse 2) WebSphere 5 test
> environment.  I've used this
> same log4j.properties with other applications and
> it's worked fine.  Any
> ideas?
> 
> Thanks very much, Jim
> [EMAIL PROTECTED]
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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

Reply via email to