|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (1)
View Page HistoryPossible values for the property are: {{fatal}}, {{error}}, {{warn}}, {{info}}, {{debug}}, {{trace}}
h1. Tuning your logging configuration
If your Petals ESB containers used in production are:
* installed on Debian-based systems through Debian packages,
* and, running in [automatic mode|petalsesb42:Starting and stopping Petals ESB installed by Debian packages],
you can disable the log handler 'console' for which all generated traces on the standard output are discarded, and used only a log handler 'file' ({{java.util.logging.FileHandler}}, {{org.ow2.petals.log.handler.PetalsFileHandler}} or {{org.ow2.petals.log.handler.PetalsPayloadDumperFileHandler}} according to your needs about the [flow monitoring|petalsesb42:Monitoring Petals ESB Flows with its logs]).
{code}
# Configuration of the log handlers
#####################################
#handlers=java.util.logging.ConsoleHandler, org.ow2.petals.log.handler.PetalsFileHandler
handlers=org.ow2.petals.log.handler.PetalsFileHandler
{code}
If your Petals ESB containers used in production are:
* installed on Debian-based systems through Debian packages,
* and, running in [automatic mode|petalsesb42:Starting and stopping Petals ESB installed by Debian packages],
you can disable the log handler 'console' for which all generated traces on the standard output are discarded, and used only a log handler 'file' ({{java.util.logging.FileHandler}}, {{org.ow2.petals.log.handler.PetalsFileHandler}} or {{org.ow2.petals.log.handler.PetalsPayloadDumperFileHandler}} according to your needs about the [flow monitoring|petalsesb42:Monitoring Petals ESB Flows with its logs]).
{code}
# Configuration of the log handlers
#####################################
#handlers=java.util.logging.ConsoleHandler, org.ow2.petals.log.handler.PetalsFileHandler
handlers=org.ow2.petals.log.handler.PetalsFileHandler
{code}
h1. Known problems