-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: HOTFIX_10.10, 2021.x
-
Fix Version/s: 10.10-HF59, 2021.17
-
Component/s: nuxeoctl start/stop/admin
-
Release Notes Summary:Log4j2 automatic configuration reload works correctly
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #55
-
Story Points:3
Changes made to the log4j configuration by editing the $NUXEO_HOME/lib/log4j2.xml is taken into account at runtime, but this seems broken since NXP-30079.
A change in log4j conf file results in:
2022-01-21 10:52:38,132 Log4j2-TF-1-ConfiguratonFileWatcher-6 ERROR Rewrite contains an invalid element or attribute "MaskSensitiveData" 2022-01-21 10:52:38,143 Log4j2-TF-1-ConfiguratonFileWatcher-6 ERROR Rewrite contains an invalid element or attribute "MaskSensitiveData"
Removing this MaskSensitiveData filer in log4j is not working either.
Probably related to a classpath problem, such error is also seen on first start:
Listening for transport dt_socket at address: 8787 2022-01-21 10:51:07 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [474] milliseconds 2022-01-21 10:51:08,034 main ERROR Rewrite contains an invalid element or attribute "MaskSensitiveData" 2022-01-21 10:51:08,051 main ERROR Rewrite contains an invalid element or attribute "MaskSensitiveData" # Running Nuxeo Preprocessor ...
- is caused by
-
NXP-30304 Do not log password when failing to connect to Kafka
- Resolved