Hello,

i have a bean published as a service using the simple frontend. It is hosted
in a tomcat container using the cxf servlet and the spring
ContextLoaderListener. I have log4j configured in the web.xml by adding 
<context-param>
        <param-name>log4jConfigLocation</param-name>
        <param-value>file:C:/<path>/log4j.xml</param-value>
    </context-param>   
    
    <listener>
       
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
    </listener>

above the ContextLoaderListener. This way i see the cxf logging messages in
the configured logger. The Problem however is, that i do not see the
logmessages from my bean. In my bean i get a logger like this:
Logger.getLogger(Bean.class). The log4j-jar is inside my webapps lib folder.
Any ideas whats wrong here?

Thanks for any hints,
Johannes
-- 
View this message in context: 
http://www.nabble.com/Using-Log4J-inside-a-simlpe-frontend-bean-tp25132933p25132933.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to