cxf-codegen:wsdl2java requires a log4j configuration
----------------------------------------------------

                 Key: CXF-2010
                 URL: https://issues.apache.org/jira/browse/CXF-2010
             Project: CXF
          Issue Type: Improvement
          Components: Tooling
    Affects Versions: 2.1.3
            Reporter: nicolas de loof


Running cxf-codegen:wsdl2java logs this ugly report :

[INFO] [cxf-codegen:wsdl2java]
log4j:WARN No appenders could be found for logger 
(org.apache.cxf.bus.spring.BusApplicationContext).
log4j:WARN Please initialize the log4j system properly.
28 janv. 2009 10:31:34 org.apache.cxf.bus.spring.BusApplicationContext 
getConfigResources
INFO: No cxf.xml configuration file detected, relying on defaults.

First of all, this is not really pleasant for users to read such log4j warnings
Second, a default log4j configuration should be included in the plugin. Even 
better, plugin setup may programmatically register an Appender to send logs to 
the maven logger according to current maven logging level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to