axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pasula, Venugopal (Consultant)" <Venugopal.Pas...@GTECH.COM>
Subject RE: how I can configure commons logger in log4j.properties.
Date Wed, 01 Dec 2004 21:39:27 GMT
Hi Marwan,
  Thanx for responding my mail. I tried that too but it didn't work. so what
I did is I took all the axis source code and changed the references from
commons Log to log4j.Logger class. then it worked out. still I am not
understanding why it is not working for commons,logging.Log??
    Actually I am doing this debug to figure out one problem. After
processing some traction succesfully, axis is throwing a '500 Internal
server error'. that time request is reaching the request handler but not the
webservice. is there any limitation in axis to process request for certain
amount of transactions?? or is there any bug in axis?? I am getting this
error very freequently(for every 2-3 hours). please let me know if you have
any solution for this problem.

Thanx again,
-Venu

-----Original Message-----
From: Marwan Semaan [mailto:marwan.semaan@incomit.com]
Sent: Wednesday, December 01, 2004 10:57 AM
To: axis-dev@ws.apache.org
Subject: Re: how I can configure commons logger in log4j.properties.


Hi,

Change INFO to DEBUG or if you remove INFO then you have DEBUG as default

/Marwan

On Wed, 1 Dec 2004 10:30:38 -0500, Pasula, Venugopal (Consultant)  
<Venugopal.Pasula@GTECH.COM> wrote:

> Hi,
>   I am sorry to post this question here. I configured my log4j.proprties  
> to
> INFO, and set the system proprty log4j.configuration to the directory  
> where
> this log4j.proprties file exist. in the file I could able to see my
> application debug statements but not the axis api debug statements. I am
> using log4j.Logger class and axis is using commons.Log class. If I want  
> to
> see the axis debug statements, what are the changes I need to make.  
> please
> anybody help me out.here is my log4j.properties file.
>
>
____________________________________________________________________________
> ____
>
> # Properties for configuring Log4j
> # This is the configuring for logging on the JUnit side (i.e. the client
> side)
>
> log4j.rootCategory=INFO, CONSOLE, LOGFILE
> log4j.logger.org.apache.axis.enterprise=INFO, CONSOLE , LOGFILE
>
> log4j.logger.org.apache.axis=INFO
> log4j.logger.org.apache.axis.encoding=INFO
> log4j.logger.org.apache.axis.utils=INFO
> log4j.logger.org.apache.axis.message=INFO
> log4j.logger.org.apache.AxisServlet=INFO
>
> # CONSOLE is set to be a ConsoleAppender using a PatternLayout.
> log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
> log4j.appender.CONSOLE.Threshold=INFO
> log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
> log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
>
> # LOGFILE is set to be a File appender using a PatternLayout.
> log4j.appender.LOGFILE=org.apache.log4j.FileAppender
> log4j.appender.LOGFILE.File=b2b.log
> log4j.appender.LOGFILE.Append=true
> log4j.appender.LOGFILE.Threshold=INFO
> log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
> log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x -  
> %m%n
>
> -----------------------------------------
> This email may contain confidential and privileged material for the sole
> use of the intended recipient(s). Any review, use, retention,  
> distribution
> or disclosure by others is strictly prohibited. If you are not the  
> intended
> recipient (or authorized to receive for the recipient), please contact  
> the
> sender by reply email and delete all copies of this message. Also, email  
> is
> susceptible to data corruption, interception, tampering, unauthorized
> amendment and viruses. We only send and receive emails on the basis that  
> we
> are not liable for any such corruption, interception, tampering,  
> amendment
> or viruses or any consequence thereof.
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


-----------------------------------------
This email may contain confidential and privileged material for the sole
use of the intended recipient(s). Any review, use, retention, distribution
or disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact the
sender by reply email and delete all copies of this message. Also, email is
susceptible to data corruption, interception, tampering, unauthorized
amendment and viruses. We only send and receive emails on the basis that we
are not liable for any such corruption, interception, tampering, amendment
or viruses or any consequence thereof.


Mime
View raw message