View Source

{section}
{column}

h1. 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.

h2. 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.
By settings the parameter *{+}Petals.level{+}* to INFO, we defines that all petals services will log at INFO level and at all higher level. The logger *{+}Petals{+}* is the root logger for petals services.


h2. Petals handler

By default two handler are used: consoleHandler and FileHandler.
The console handler is use to disply log in the console output.
The parameter java.util.logging.ConsoleHandler.level define the level

h2. Petals formatter


h2. Configure Default Petals logger level


h2. Configure logg

Petals Level :

Petals define a custom log level : MONIT. When this le level activate many
This level logs
{column}
{column:width=350px}

{panel:title=Petals logging Documentations}{children:all=true}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list}{panel}
{column}
{section}