Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
log4j2.xml
that Magnolia provides and customize it to your needs.Update your magnolia.properties (log4j.config) to point to the new file.
Tip |
---|
We recommend the new file be called |
Do a basic library check:
log4j-1.2.17.jar
or similar in WEB-INF/lib anymore.log4j-api-2.8.2.jar
log4j-core-2.8.2.jar
log4j-slf4j-impl-2.8.2.jar
(the slf4j implementation is now provided by Log4j 2)
Warning |
---|
Make sure you don't have |
If in doubt about your config, you may set the level of Log4j's status-logger to debug as follows:
Code Block | ||
---|---|---|
| ||
<Configuration status="DEBUG"> ... |
...