axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harish <har...@poboxes.com>
Subject log4j error
Date Thu, 01 May 2003 21:57:11 GMT
Hi,

I have a servlet (MyServlet) along with the Axis Servlet in the same webapp,
under Tomcat.
MyServlet has the <load-on-startup>1</load-on-startup>
and the AxisServlet has <load-on-startup>10</load-on-startup>.
MyServlet calls org.apache.log4j.xml.DOMConfigurator.configure(elementList) ,
(where the log4j settings are in an xml file) in the init(). 
It prints out the error message
"log4j:ERROR No output stream or file set for the appender named [filelogwebservice"

MyServlet on its own works fine in initializing the log4j fwk
, when not using Axis.

#1) How do I solve the error message problem
#2) How can I make Axis send all logging messages to 
    the appender that was initialized in MyServlet ?


Inputs appreciated.
Thanks
Harish

Mime
View raw message