Logging in PETALS

Logging in Petals ESB

Petals uses the logger provided by the JDK.
The logger configuration file, named loggers.properties, is located in $PETALS_HOME/conf folder.
TODO: Fix location with debian or rpm installer.

Petals logging Documentations
Contributors
No contributors found for: authors on selected page(s)

Petals Logger Level

Petals define a specific level: MONIT.
The levels provided by Petals in descending order are:

  • SEVERE (highest value)
  • WARNING
  • INFO
  • CONFIG
  • MONIT
  • FINE
  • FINER
  • FINEST (lowest value)

The root logger level is WARNING. It means that all classes log only SEVERE and WARNING information.
You can target specific packages to collect logging from and specify a level. Here is how you would set debugging from Petals. You would need to ensure the Handler's level is also set to collect this threshold, so FINEST or ALL should be set.

##Petals level
Petals.level = FINEST

#Handler Configuration
java.util.logging.ConsoleHandler.level = FINEST

Example of configuration to debug (Level FINEST) petals-bc-soap component:

##Petals level
Petals.level = INFO
Petals.Container.Components.petals-bc-soap.level = FINEST
#Handler Configuration
java.util.logging.ConsoleHandler.level = FINEST

Petals handler

By default two handler are used: consoleHandler and FileHandler.
The console handler is use to routing logging to stdout.

The parameter java.util.logging.ConsoleHandler.level define the level

Petals formatter

Configure Default Petals logger level

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.