>
> 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 Strut
Alright..
Thanks a lot for your help .
Regards
Usha
On Fri, May 30, 2014 at 7:09 PM, Paul Benedict 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 already configured --
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" an
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
log4j.appende
Did you add the line for Struts debugging?
Dave
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.
[05/30
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 wrote:
> 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
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 wrote:
>
>
> On 05/30/2014 08:26 AM, Usha Ladkani wrote:
>
>>
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 N
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
thread=[Web
> 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 logg
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
(com.ibm.bc
> 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
log4j.appender.R.layou
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
wrote:
> Hello Paul.
>
> We are using java.util.logging.Logger in our application
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 wrote:
> Usha, what logging framework are you using?
>
>
> Cheers,
> Paul
>
>
> On Thu, May 29, 2014 at 10:28 PM, Usha Ladkani
> wrote:
>
> > Hello ,
> >
> > We a
Usha, what logging framework are you using?
Cheers,
Paul
On Thu, May 29, 2014 at 10:28 PM, Usha Ladkani
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 1 org.apach
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
18 matches
Mail list logo