apache / apache/logging-log4j2

Support scanning a directory for log4j2 configuration files

Open
#2,852 14 comments 0 reactions 0 assignees View on GitHub
waiting-for-maintainer
Dominant language
Java
Stars
3.6k
Forks
1.7k
Avg merge
21h 30m
Merged PRs (30d)
27

Description

New property _log4j2.configurationDirectory_ would work similar to the comma separated list in _log4j2.configurationFile_ where multiple configuration files can be used for an application.

This behavior would allow dynamic loading of configuration files, instead of requiring the name of each configuration file ahead of time, which is the case with _log4j2.configurationFile_.

1. If property _log4j2.configurationDirectory_ is set, recursively scan the directory for matching configuration files.
2. Limit directory depth to something reasonable (16 or so by default)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.