Have you got a commons-logging.properties file?

Susan Bradeen


On 03/21/2003 08:42:54 AM "Cook, Graham" wrote:

> This is the log4.properties file:-
> 
> 
> # Create a single console appender that logs INFO and higer
> #log4j.rootLogger=INFO, stdout
> 
> # Create a console appender that logs ERROR's on org.apache ONLY
> log4j.logger.org.apache=ERROR, output1
> 
> # Create a console appender that logs TRACE or higher on corus packages 
only
> log4j.logger.corus=TRACE, output1
> 
> # Configure the stdout appender to go to the console
> log4j.appender.output1=org.apache.log4j.ConsoleAppender
> 
> # Configure the stdout appender to use the PatternLayout
> log4j.appender.output1.layout=org.apache.log4j.PatternLayout
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: 21 March 2003 13:40
> To: [EMAIL PROTECTED]
> Subject: RE: WebSphere Application Developer / Log4J, duplicate
> messages???
> 
> 
> How have u configured log4j?
> 
> I mean if the same appender is added twice(In this case Sysout),the 
output
> of logging will go twice to the appender..
> 
> So may be u can check this.
> 
> regards,
> Shirish
> 
> -----Original Message-----
> From: Cook, Graham [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 21, 2003 2:34 PM
> To: '[EMAIL PROTECTED]'
> Subject: WebSphere Application Developer / Log4J, duplicate messages???
> 
> 
> Hi,
> 
> I have a problem with WSAD. I've enabled log4j as it should be but 
whenever
> a message gets printed to the console, I get a duplicate SYSTEMOUT 
message
> from what i believe is WSAD.
> 
> Does anyone have any idea how to stop WSAD duplicating these log4J 
messages?
> 
> 
> EXAMPLE:-
> 
> ..
> ..
> 21992 [Servlet.Engine.Transports:10] DEBUG 
registration.SteelInvoiceAction -
> Mapping Parameter value for this action is Calculate
> 21992 [Servlet.Engine.Transports:10] DEBUG 
registration.SteelInvoiceAction -
> Parmater doaction=Calculate
> 21992 [Servlet.Engine.Transports:10] DEBUG 
registration.SteelInvoiceAction -
> In calculate() method
> [20/03/03 15:47:07:444 GMT] 1036abaf SystemOut U Mapping Parameter value 
for
> this action is Calculate
> [20/03/03 15:47:07:444 GMT] 1036abaf SystemOut U Parmater 
doaction=Calculate
> [20/03/03 15:47:07:444 GMT] 1036abaf SystemOut U In calculate() method
> [20/03/03 15:47:07:444 GMT] 1036abaf SystemOut U In
> calculateAndSetItemLinesTotal() method
> 21992 [Servlet.Engine.Transports:10] DEBUG 
registration.SteelInvoiceAction -
> In calculateAndSetItemLinesTotal() method
> 21992 [Servlet.Engine.Transports:10] DEBUG 
registration.SteelInvoiceAction -
> In calculateAndSetItemLinesTotal() method
> ..
> ..
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
********************************************************************************
> ************
> " This message contains information that may be privileged or 
confidential and
> is the property of the Cap Gemini Ernst & Young Group. It is intended 
only for
> the person to whom it is addressed. If you are not the intended 
recipient, you
> are not authorized to read, print, retain, copy, disseminate, 
distribute, or use
> this message or any part thereof. If you receive this message in error, 
please
> notify the sender immediately and delete all copies of this message ".
> 
********************************************************************************
> ************
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to