Howdy,
How are you configuring log4j?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Rishikesh Tembe [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 27, 2003 2:43 PM
>To: Log4J Users List
>Subject: duplicate logging?
>
>Hi all,
>
>If in my code I have
>logger.info("AIN: Received 'ReadEvent' from Thread1
>");
>why do I get the following in my log file?
><snip>
>AIN: Received 'ReadEvent' from Thread1
>2003-08-27 11:29:08,463 [1] : AIN: Received 'ReadEvent' from Thread1
></snip>
>
>I am using PatternLayout with the pattern as %d [%t] : %m%n
>
>-- log4j.properties --
>log4j.rootLogger=INFO, d1
>log4j.appender.d1=org.apache.log4j.FileAppender
>log4j.appender.d1.File=threads.log
>log4j.appender.d1.layout=org.apache.log4j.PatternLayout
>log4j.appender.d1.layout.ConversionPattern=%d [%t] : %m%n
>
>thanks,
>Rishi
>
>=====
>
>
>_______________________________________________________________________
_
>Yahoo! India Promos: Win TVs, Bikes, DVD players & more!
>Go to http://in.promos.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to