-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.3
-
Component/s: Distribution / Installers
-
Upgrade notes:
-
Sprint:nxcore 10.3.6
-
Story Points:8
Our current logger backend, Apache Log4j 1, is EOL since 2015. We should move to a more modern backend.
Note that the logger front-end we use (Apache Commons Logging) is not being changed.
Beyond maintenance, the current Log4j 1 is rather slow and doesn't have modern capabilities like Message Objects which make for shorter code (no need to call if (log.isDebugEnabled()) in most cases).
Some background:
- https://www.sitepoint.com/which-java-logging-framework-has-the-best-performance/
- https://jira.spring.io/browse/SPR-14512
So, upgrade log4j to log4j2, furthermore clean some logging codes, files etc...
See linked migration file to see changements.
- is duplicated by
-
NXP-11458 Replace Log4J with Logback through SLF4J and JCL bridges
- Resolved
- is related to
-
NXP-25852 Fix Tomcat JULI configuration conflicting with log4j2
- Resolved
-
NXP-25860 Fix log4j-api classpath conflict between Tomcat and Application classpaths
- Resolved
-
NXP-22131 Allow dynamic log4j.xml configuration changes
- Resolved
-
NXP-25835 Create a log4j test configuration
- Resolved
-
NXP-25836 Improve LogFeature to be able to annotate test methods
- Resolved
-
NXS-6588 migrate log4j test configuration to log4j2
- Resolved
-
NXP-24951 Run Nuxeo with Java 11
- Resolved
-
NXP-23061 Support Elasticsearch log4j2 in Nuxeo
- Open
-
NXP-25096 Should be able to configure logs in Json
- Resolved
-
NXP-25844 Remove usage of deprecated code and code deprecated since 7.10 or less in nuxeo-drive-server
- Resolved
- is required by
-
NXP-26453 Add basic config for log4j2 JSON logging
- Open
-
NXP-26877 Unify logging with log4j2
- Resolved
- links to