Open issues

Log4j should be configurable using defaults file

Description

Log4j should be configurable using defaults file

We'd like to configure Log4j using an additional, optional defaults file.
This allows us to split the configuration into "user" and "system" settings.
User settings will take precedence over system settings.

This solves the following problem:
Currently, users of our software may alter the logger configuration directly;
updating the system then becomes tedious, since we can't merge the updated system configuration into the modified configuration easily.

Details:
We'd like the defaults to be stored in a properties file.
It should look like the existing Log4j configuration in its properties syntax.
So if existing, this file should be taken into account.
The name of the file should be kept in the bundle configuration under the key "org.ops4j.pax.logging.log4j2.defaults.file".

Will provide a PR...

Environment

None

Status

Assignee

Unassigned

Reporter

Rico Neubauer

Labels

None

Affects versions

1.11.0

Priority

Major