You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michael Smus <ms...@kabira.com> on 2003/05/06 03:37:37 UTC

Logging in axis

Greetings,
I am using axis with tomcat.
I understand that Axis uses log4j-1.2.4.jar for logging implementation.
Looked at log4j.properties in
axis.jar.
It says:
log4j.rootCategory=INFO, CONSOLE

So I was expecting to have trace in catalina.out however nothing from axis
goes there even when Axis faults are generated. Are my  assumptions correct
?
Thanks, Mike


Re: Logging in axis

Posted by Jeff Pajor <je...@pajor.com>.
Ick...  You probably need to unjar the file and change the log level.  
It's not good to set the rootCatagory.

Cheers,
Jeff

Bill Lear wrote:

>On Tuesday, May 6, 2003 at 11:07:45 (-0700) Michael Smus writes:
>  
>
>>>Old, old bug.
>>><http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10479>
>>>its pretty annoying.
>>>      
>>>
>>Yes, but is still does not answer my original question,
>>what needs to be done in axis to have log messages be visible ?
>>...
>>    
>>
>
>Copy log4j.properties to webapps/axis/WEB-INF/classes, under Tomcat?
>(Not sure elsewise...).
>
>
>Bill
>  
>
-- 
Jeffrey J Pajor
Auten Road, Inc
(206) 579-0627
http://www.autenroad.com
http://groups.yahoo.com/group/autenroad-newsletter/join



Re: Logging in axis

Posted by Bill Lear <ra...@zopyra.com>.
On Tuesday, May 6, 2003 at 11:07:45 (-0700) Michael Smus writes:
>
>> Old, old bug.
>> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10479>
>> its pretty annoying.
>
>Yes, but is still does not answer my original question,
>what needs to be done in axis to have log messages be visible ?
>...

Copy log4j.properties to webapps/axis/WEB-INF/classes, under Tomcat?
(Not sure elsewise...).


Bill

Re: Logging in axis

Posted by Brian Ewins <Br...@btinternet.com>.
Delete the log4j.properties from the jar.

Michael Smus wrote:

>>Old, old bug.
>><http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10479>
>>its pretty annoying.
> 
> 
> Yes, but is still does not answer my original question,
> what needs to be done in axis to have log messages be visible ?
> 
> Thanks, Mike
> 
> 
>>Michael Smus wrote:
>>
>>
>>>>Are you saying that a log4j.properties file is *in* the .jar?
>>>
>>>
>>>Yes, this is the proof:
>>>
>>>msmus@bert:~/axis-1_1RC2/lib% jar -tf axis.jar | grep log4j.properties
>>>log4j.properties
>>>
>>>Regards, Mike
>>>
>>>
>>>>On Mon, 2003-05-05 at 21:37, Michael Smus wrote:
>>>>
>>>>
>>>>>Greetings,
>>>>>I am using axis with tomcat.
>>>>>I understand that Axis uses log4j-1.2.4.jar for logging implementation.
>>>>>Looked at log4j.properties in
>>>>>axis.jar.
>>>>>It says:
>>>>>log4j.rootCategory=INFO, CONSOLE
>>>>>
>>>>>So I was expecting to have trace in catalina.out however nothing from
>>>
>>>axis
>>>
>>>
>>>>>goes there even when Axis faults are generated. Are my  assumptions
>>>
>>>correct
>>>
>>>
>>>>>?
>>>>>Thanks, Mike
>>>>>
>>>>
>>>>
>>>
> 
> 


Re: Logging in axis

Posted by Michael Smus <ms...@kabira.com>.
> Old, old bug.
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10479>
> its pretty annoying.

Yes, but is still does not answer my original question,
what needs to be done in axis to have log messages be visible ?

Thanks, Mike

>
> Michael Smus wrote:
>
> >>Are you saying that a log4j.properties file is *in* the .jar?
> >
> >
> > Yes, this is the proof:
> >
> > msmus@bert:~/axis-1_1RC2/lib% jar -tf axis.jar | grep log4j.properties
> > log4j.properties
> >
> > Regards, Mike
> >
> >>On Mon, 2003-05-05 at 21:37, Michael Smus wrote:
> >>
> >>>Greetings,
> >>>I am using axis with tomcat.
> >>>I understand that Axis uses log4j-1.2.4.jar for logging implementation.
> >>>Looked at log4j.properties in
> >>>axis.jar.
> >>>It says:
> >>>log4j.rootCategory=INFO, CONSOLE
> >>>
> >>>So I was expecting to have trace in catalina.out however nothing from
> >
> > axis
> >
> >>>goes there even when Axis faults are generated. Are my  assumptions
> >
> > correct
> >
> >>>?
> >>>Thanks, Mike
> >>>
> >>
> >>
> >
> >
>


Re: Logging in axis

Posted by Brian Ewins <Br...@btinternet.com>.
Old, old bug.
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10479>
its pretty annoying.

Michael Smus wrote:

>>Are you saying that a log4j.properties file is *in* the .jar?
> 
> 
> Yes, this is the proof:
> 
> msmus@bert:~/axis-1_1RC2/lib% jar -tf axis.jar | grep log4j.properties
> log4j.properties
> 
> Regards, Mike
> 
>>On Mon, 2003-05-05 at 21:37, Michael Smus wrote:
>>
>>>Greetings,
>>>I am using axis with tomcat.
>>>I understand that Axis uses log4j-1.2.4.jar for logging implementation.
>>>Looked at log4j.properties in
>>>axis.jar.
>>>It says:
>>>log4j.rootCategory=INFO, CONSOLE
>>>
>>>So I was expecting to have trace in catalina.out however nothing from
> 
> axis
> 
>>>goes there even when Axis faults are generated. Are my  assumptions
> 
> correct
> 
>>>?
>>>Thanks, Mike
>>>
>>
>>
> 
> 


Re: Logging in axis

Posted by Michael Smus <ms...@kabira.com>.
> Are you saying that a log4j.properties file is *in* the .jar?

Yes, this is the proof:

msmus@bert:~/axis-1_1RC2/lib% jar -tf axis.jar | grep log4j.properties
log4j.properties

Regards, Mike
>
> On Mon, 2003-05-05 at 21:37, Michael Smus wrote:
> > Greetings,
> > I am using axis with tomcat.
> > I understand that Axis uses log4j-1.2.4.jar for logging implementation.
> > Looked at log4j.properties in
> > axis.jar.
> > It says:
> > log4j.rootCategory=INFO, CONSOLE
> >
> > So I was expecting to have trace in catalina.out however nothing from
axis
> > goes there even when Axis faults are generated. Are my  assumptions
correct
> > ?
> > Thanks, Mike
> >
>
>


Re: Logging in axis

Posted by Benjamin Tomasini <bt...@neteverything.com>.
Are you saying that a log4j.properties file is *in* the .jar?

On Mon, 2003-05-05 at 21:37, Michael Smus wrote:
> Greetings,
> I am using axis with tomcat.
> I understand that Axis uses log4j-1.2.4.jar for logging implementation.
> Looked at log4j.properties in
> axis.jar.
> It says:
> log4j.rootCategory=INFO, CONSOLE
> 
> So I was expecting to have trace in catalina.out however nothing from axis
> goes there even when Axis faults are generated. Are my  assumptions correct
> ?
> Thanks, Mike
>