Details
-
Bug
-
Resolution: Fixed
-
High
-
8.1.0, 8.0.4
-
None
-
8
-
Severity 3 - Minor
-
11
-
Description
Issue Summary
This is reproducible on Data Center: yes
The application logs is flooded with "get ThreadLocalCache is not initialised" warnings after upgrade to Confluence 8.0.4 for every operation on the application UI.
Steps to Reproduce
- Upgrade to Confluence 8.0.4 or start new instance of Confluence 8.0.4
- Navigate through different functionality on the UI.
Expected Results
The WARN messages should not appear continuously in the application logs.
Actual Results
The below WARN message is shown in the atlassian-confluence.log file:
2023-02-14 14:50:24,560 WARN [http-nio-8090-exec-1] [atlassian.confluence.cache.ThreadLocalCache] get ThreadLocalCache is not initialised. Could not retrieve value for key GLOBAL_SETTINGS -- url: /confluence/status | traceId: 74ec3c52d5bd5679
This is filling up the application logs continuously.
Workaround
- To avoid restarting Confluence and to pick up the change, Go to > General Configuration > Logging and Profiling.
- Add New Entry
Class/Package Name com.atlassian.confluence.cache.ThreadLocalCache New Level ERROR - You can also choose to add this to your <confluence_install>/confluence/WEB-INF/classes/log4j.properies file that will be picked during startup :
log4j.logger.com.atlassian.confluence.cache.ThreadLocalCache=ERROR