dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
826 stars 464 forks source link

create global log4j config #23631

Open spbolton opened 1 year ago

spbolton commented 1 year ago

Currently Tomcat has its own logging and Log4j only initialises when the webapp starts up. This makes it hard to track issues especially in our k8s environments.

This task is to setup tomcat to use log4j2 for its logging and to use the same single context for the webapp allowing for a single log4j config file to handle the whole running of the application.

There is an existing proof of concept but it was causing some tests to fail. We need to merge in these changes into the core

https://github.com/dotCMS/core/pull/23964

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.