Versions Compared

Key

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

...

You can also enable message logging through configuration: CXF configuration.

Configure logging levels.

CXF uses Java SE Logging. In the /etc folder of the CXF distribution there is a sample logging.properties file 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
xml
xml

.level= FINE
java.util.logging.ConsoleHandler.level = FINE

Once this done, you will need to set the -Djava.util.logging.config.file property to the location of the logging.properties file. As an example, the Ant target below has this property set:

...