[MGNLCACHE-231] Improve cache debug/trace logging Created: 07/Aug/20 Updated: 08/Apr/21 Resolved: 21/Sep/20 |
|
| Status: | Closed |
| Project: | Cache Modules |
| Component/s: | None |
| Affects Version/s: | 5.9.1 |
| Fix Version/s: | 5.9.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Federico Grilli |
| Resolution: | Done | Votes: | 1 |
| Labels: | maintenance | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 3h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||||||||||
| Sprint: | Maintenance 25 | ||||||||||||||||||||||||||||||||||||
| Story Points: | 0.5 | ||||||||||||||||||||||||||||||||||||
| Description |
|
To better help customers verify their cache configurations it would be useful to see the cache flush events confirmed in the log. Especially since the introduction of the site aware cache policy. I would like to be able to see the cache flush confirmed in the log at the debug level:
log.trace("Cache flushed: {}", cacheName);
Features added:
Enable debug/trace in log4j2: <Logger name="info.magnolia.module.cache" level="ALL"/> |