Logging in Petals

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

Changes (4)

View Page History
The Petals ESB logger configuration is splitted into two files, one for each logging system:
* the JDK Logging system is configured according to the following ordered rules:
*# the file defined as value of the Java system property {{petals.container.log.config.file}} to set on the Java command line through the environment file, ie. {{env.sh|bat}},
*# the file defined as value of the property {{petals.container.log.config.file}} of the local container configuration, ie. {{server.properties}},
*# the file '{{loggers.properties}}' located in the same path than the local container configuration, ie. {{server.properties}}.

* {{log4j.properties}}: is configured through the file '{{log4j.properties}}' located in the same path directory than the local container configuration file, ie. {{server.properties}}.

{note}An issue JIRA already exists to merge both logging systems: {jira:PETALSESBCONT-227}{note}
* the properties of the container configuration file, ie. {{server.properties}}.

{tip}Think to use the environment file, ie. {{env.sh|bat}}, instead of updating the Petals startup script to set your system properties.{tip}

{column}
{column:width=350px}
h1. Petals Logging specificities

{tip}You can find more informations about few concepts mentioned below in glossary [Glossary|http://doc.petalslink.com/display/glossary/Petals+ESB+specific+vocabulary].{tip} [glossary|Glossary].{tip}

h2. Level 'MONIT'