Nope, tryed that, still dont work. That line was commented out anyway -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 21 March 2003 14:10 To: [EMAIL PROTECTED] Subject: RE: WebSphere Application Developer / Log4J, duplicate messages???
There seems some problem in this configuration..I am not sure if stdout is taken as COnsole appender by log4j... BEcause U have stdout as appender for root.And then output1 again maps to console appender.. So try the following change. Just change the first line as follows: # Create a single console appender that logs INFO and higer #log4j.rootLogger=INFO, output1 Hope this helps, Regards, Shirish -----Original Message----- From: Cook, Graham [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 2:43 PM To: 'Struts Users Mailing List' Subject: RE: WebSphere Application Developer / Log4J, duplicate messages??? 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]