Logging in PETALS

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View Page History

Petals define a specific level: MONIT.

MONIT level can be used by log parser to monitor the exchange in Petals ESB.


The levels provided by Petals in descending order are:
* SEVERE (highest value)
{code}

h2. Petals handler
h2.

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

h2. Petals formatter


PetalsSimpleFormatter use the following pattern:
{panel:borderStyle=solid}{+}YYYY/MM/DD+ +HH:MM:SS,FFF+ +LOG LEVEL+ +LOGGER NAME+ : +LOG MESSAGE+ +?\[+LOG MESSAGE\]
\[EXTRA DATA KEY\] = '\[EXTRA DATA VALUE\]'
\[JAVA EXCEPTION\]{panel}

{builder-infopanel:The performance of Petals ESB is reduced when the PetalsExtendendFormatter is activate.}

h2. Petals MONIT level
h2.
{column}