|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (4)
View Page HistoryPetals ESB uses two distinct logging systems. Most of the container apart from the registry uses the logger provided by the JDK, while the registry uses Apache log4j.
The Petals ESB logger configuration is splitted into two default files: files, one for each logging system:
* {{loggers.properties}}: the JDK logger configuration. This default location can be overridden using the Java properties "java.util.logging.config.file" to set on the java command line in the startup script or in the environment variable JAVA_OPTS.
* {{log4j.properties}}: the log4j logger configuration.
* {{log4j.properties}}: the log4j logger configuration.
* 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,
*# 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}}.
by default through the file '{{loggers.properties}}' located in the same directory than the local container configuration, ie. {{server.properties}}.
* {{log4j.properties}}: is configured through the file '{{log4j.properties}}' located in the same path than the local container configuration, ie. {{server.properties}}.
*# the file defined as value of the Java system property {{petals.container.log.config.file}} to set on the Java command line,
*# 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}}.
by default through the file '{{loggers.properties}}' located in the same directory than the local container configuration, ie. {{server.properties}}.
* {{log4j.properties}}: is configured through the file '{{log4j.properties}}' located in the same path than the local container configuration, ie. {{server.properties}}.
{note}An issue JIRA already exists to merge both logging systems: {jira:PETALSESBCONT-227}{note}
{column}