Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Configuring logging levels

In the /etc folder of the CXF distribution there is a CXF source repository there are several sample Java SE logging.properties file files you can use to configure logging. For example, if you want to change the console logging level from WARNING to FINE, you need to update two properties in this logging.properties file as below:

...

Code Block
org.apache.cxf.common.logging.Log4jLogger
Warning

Please note, Log4jLogger was removed in Apache CXF 3.4.0 release (and beyond). Please consider using Slf4jLogger instead.

Anchor
slf4j
slf4j

Using SLF4J Instead of java.util.logging (since 2.2.8)

...