-
Improvement
-
Resolution: Done
-
Neutral
-
5.9.1
-
None
-
-
Empty show more show less
-
Maintenance 25
-
0.5
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:
- Each flush command now has TRACE level logging for flush events including names of caches being flushed.
- Observation registration for cache flushing is now recorded at TRACE level. Can be seen during startup phase of the cache module.
- FlushAllListeningPolicy records flush events at TRACE level which includes the name of the cache being flushed.
- CachePolicyResult #toString() method updated to include the name of the cache being used. This can be observed by turning the cache filter to DEBUG.
Enable debug/trace in log4j2:
<Logger name="info.magnolia.module.cache" level="ALL"/>
- is depended upon by
-
MGNLADVCACHE-112 DOC: Clarify that site aware caching is tied to site definitions
- Closed
- is related to
-
DOCU-2044 Troubleshooting page for cache issues
- Closed
-
MGNLADVCACHE-116 Site aware caching no longer creates site caches
- Closed
-
EXTDAM-287 Provide a command for flushing a cache by name
- Open
-
MGNLADVCACHE-110 Improve advanced cache debug/trace logging
- Closed
- relates to
-
MGNLCACHE-232 Cache flush counts from JMX bean not updated
- Open
- mentioned in
-
Page Loading...