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
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
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
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
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
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
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
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
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.
Did you add the line for Struts debugging?
Dave
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
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
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
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
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
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
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
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
18 matches
Mail list logo