-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2023.14
-
Component/s: Tests
-
Release Notes Summary:Nuxeo tests now runs with a common log configuration
-
Release Notes Description:
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #115, nxplatform #116
-
Story Points:5
We want to create a common log4j test configuration for all of our tests.
This configuration could be a log4j2-test-common.xml file. It will be loaded by a custom log4j configuration java class, as it, tests will still be able to declare their log4j2-test.xml file to override (by merge) the common configuration.
This will allow us to :
- remove a lot of log4j2-test.xml file.
- have a configuration for feature loggers (such as CoreFeature which logs the deployed repository)
Final goal is to have test start/finish logs, feature logs and all nuxeo loggers info logs in target/trace.log.
- is related to
-
NXP-32696 Fix Nuxeo Platform Started error log in tests
- Resolved
-
NXP-32836 Add a way to add appenders to loggers configured with @LoggerLevel
- Resolved
-
NXP-23863 Switch logger backend to Log4j 2
- Resolved
- is required by
-
NXP-26400 Remove spurious logs about XML schema not found in tests using Tomcat
- Resolved