Versions Compared

Key

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

...

Code Block
languagexml
titleSyntax
<logging>
  <log-file pattern="${logging.file}" append="true" ... />
</logging>

The logging element accepts the following attributes:

Attribute nameDescriptionAllowed valuesDefault
levelSpecifies the global logging level for console and file logging
In general there are logged just messages with the same or higher priority than the level specified.
The level SEVERE has the highest priority, FINEST the lowest one.

OFF | SEVERE | WARNING | INFO | CONFIG | FINE | FINER | FINEST | ALL

INFO


The above definition of a <log-file> supports all configuration options of java.util.logging.FileHandler as attributes, in particular:

...