All,
I would like to enable very low level logging statements to attempt to
debug a problem. Which file do I need to put where in order to do that?
I attempted to set up a cfx.xml file in my CLASSPATH with this:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://cxf.apache.org/core"
xsi:schemaLocation="
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<cxf:bus>
<cxf:features>
<cxf:logging/>
</cxf:features>
</cxf:bus>
</beans>
per http://cwiki.apache.org/CXF20DOC/configuration.html
<http://cwiki.apache.org/CXF20DOC/configuration.html but> but this had
no effect.
I also attempted to set up a logging.properties file in the CLASSPATH
that looked like this:
...
.level= FINE
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
# default file output is in user's home directory.
java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
# Limit the message that are printed on the console to WARNING and
above.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatte
....
which also had no effect.
How do I get debug level info. out of CXF?
Thanks,
Wes