Red Hat DocumentationFuse ESBToggle FramesPrintFeedback

Configuring Logging Levels

Logging levels

The java.util.logging framework supports the following levels of logging, from the least verbose to the most verbose:

  • SEVERE

  • WARNING

  • INFO

  • CONFIG

  • FINE

  • FINER

  • FINEST

Configuring the global logging level

To configure the types of event that are logged across all loggers, configure the global logging level as shown in Example 39.

Example 39. Configuring Global Logging Levels

.level= WARNING

Configuring logging at an individual package level

The java.util.logging framework supports configuring logging at the level of an individual package. For example, the line of code shown in Example 40 configures logging at a SEVERE level on classes in the com.xyz.foo package.

Example 40. Configuring Logging at the Package Level

com.xyz.foo.level = SEVERE

Comments powered by Disqus