Re: Struts 1 Logging

2014-05-30 Thread Usha Ladkani
Hello Paul. Now I have configured log4j-1.2.13.jar. Below is my log4j.properties file content. log4j.rootLogger=DEBUG, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=usha.log log4j.appender.R.MaxFileSize=10MB log4j.appender.R.MaxBackupIndex=10

Re: Struts 1 Logging

2014-05-30 Thread Christoph Nenning
Hello Paul. Now I have configured log4j-1.2.13.jar. Below is my log4j.properties file content. log4j.rootLogger=DEBUG, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=usha.log log4j.appender.R.MaxFileSize=10MB log4j.appender.R.MaxBackupIndex=10

Re: Struts 1 Logging

2014-05-30 Thread Usha Ladkani
Now empty log file is being created. I see this error in systemout which i printed too [30/5/14 12:23:48:824 UTC] 0086 R UOW= source=SystemErr org=IBM prod=WebSphere component=Application Server thread=[WebContainer : 0] log4j:WARN No appenders could be found for logger

Re: Struts 1 Logging

2014-05-30 Thread Christoph Nenning
Now empty log file is being created. I see this error in systemout which i printed too [30/5/14 12:23:48:824 UTC] 0086 R UOW= source=SystemErr org=IBM prod=WebSphere component=Application Server thread=[WebContainer : 0] log4j:WARN No appenders could be found for logger

Re: Struts 1 Logging

2014-05-30 Thread Usha Ladkani
now the file is created , but has no trace of struts. below is logged. 05/30/14 12:40:20] source=com.ibm.bcg.consoleUI.action.partners.PartnerCreateAction thread=[WebContainer : 0] Logging initialized. [05/30/14 12:40:20] source=com.ibm.bcg.consoleUI.action.partners.PartnerCreateAction

Re: Struts 1 Logging

2014-05-30 Thread Mark Shifman
On 05/30/2014 08:26 AM, Usha Ladkani wrote: Now empty log file is being created. I see this error in systemout which i printed too [30/5/14 12:23:48:824 UTC] 0086 R UOW= source=SystemErr org=IBM prod=WebSphere component=Application Server thread=[WebContainer : 0] log4j:WARN

Re: Struts 1 Logging

2014-05-30 Thread Usha Ladkani
property file is in classpath , As the log file is being created with trace. We are not using tomcat. we are using our own webserver which is running on IBM Websphere application server. On Fri, May 30, 2014 at 6:21 PM, Mark Shifman mark.shif...@yale.edu wrote: On 05/30/2014 08:26 AM, Usha

Re: Struts 1 Logging

2014-05-30 Thread Paul Benedict
Usha, I don't understand your response. So you have a log file and it's logging? Cheers, Paul On Fri, May 30, 2014 at 7:58 AM, Usha Ladkani ushaladk...@gmail.com wrote: property file is in classpath , As the log file is being created with trace. We are not using tomcat. we are using our

Re: Struts 1 Logging

2014-05-30 Thread Usha Ladkani
I have the log file created which I have defined in log4j.properties. But I dont see any trace for struts in that File. I only below entries in the log file.- 05/30/14 12:40:20] source=com.ibm.bcg.consoleUI. action.partners.PartnerCreateAction thread=[WebContainer : 0] Logging initialized.

Re: Struts 1 Logging

2014-05-30 Thread Dave Newton
Did you add the line for Struts debugging? Dave

Re: Struts 1 Logging

2014-05-30 Thread Usha Ladkani
yes.. below is how property file looks like. log4j.rootLogger=DEBUG, R log4j.logger.org.apache.struts=DEBUG log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=../updivalidation/UPDISetup.log log4j.appender.R.MaxFileSize=10MB log4j.appender.R.MaxBackupIndex=10

Re: Struts 1 Logging

2014-05-30 Thread Paul Benedict
Websphere is notorious for its poor logging support. I used Websphere for about 5 years. The server exposes Commons Logging in the parent class loader so it's already configured -- and not configurable by you. That was my experience, at least. I think you should google Websphere Struts Logging and

Re: Struts 1 Logging

2014-05-30 Thread Usha Ladkani
Alright.. Thanks a lot for your help . Regards Usha On Fri, May 30, 2014 at 7:09 PM, Paul Benedict pbened...@apache.org wrote: Websphere is notorious for its poor logging support. I used Websphere for about 5 years. The server exposes Commons Logging in the parent class loader so it's

Re: Struts 1 Logging

2014-05-30 Thread Christoph Nenning
Websphere is notorious for its poor logging support. I used Websphere for about 5 years. The server exposes Commons Logging in the parent class loader so it's already configured -- and not configurable by you. That was my experience, at least. I think you should google Websphere Struts

Struts 1 Logging

2014-05-29 Thread Usha Ladkani
Hello , We are using Struts 1 , Can someone tell me how can I enable Struts logs in debug mode, Basically I am looking for statements as below - BeanUtils 1 org.apache.commons.beanutils.BeanUtils populate BeanUtils.populate( Thanks and regards

Re: Struts 1 Logging

2014-05-29 Thread Paul Benedict
Usha, what logging framework are you using? Cheers, Paul On Thu, May 29, 2014 at 10:28 PM, Usha Ladkani ushaladk...@gmail.com wrote: Hello , We are using Struts 1 , Can someone tell me how can I enable Struts logs in debug mode, Basically I am looking for statements as below - BeanUtils

Re: Struts 1 Logging

2014-05-29 Thread Usha Ladkani
Hello Paul. We are using java.util.logging.Logger in our application. Regards Usha On Fri, May 30, 2014 at 9:02 AM, Paul Benedict pbened...@apache.org wrote: Usha, what logging framework are you using? Cheers, Paul On Thu, May 29, 2014 at 10:28 PM, Usha Ladkani ushaladk...@gmail.com

Re: Struts 1 Logging

2014-05-29 Thread Paul Benedict
Okay, but Struts 1 uses Apache Commons Logging. That means you'll need to configure that or use Apache Log4j 1.x configuration which is also supported. Cheers, Paul On Thu, May 29, 2014 at 10:38 PM, Usha Ladkani ushaladk...@gmail.com wrote: Hello Paul. We are using java.util.logging.Logger