-
Improvement
-
Resolution: Not an issue
-
Major
-
None
-
4.3.8, 4.4.2
-
None
-
-
Yes
-
Empty show more show less
I don't know if I'm the only one, but the cache module catches and logs this exception:
java.lang.RuntimeException: ClientAbortException: java.net.SocketException: Connection reset
at info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:159)
It's a quite common exception, that in most cases means the browser has closed the connection. Ok, there are a few cases in which this may be useful to trace borderline problems with https and internet explorer, but I'd really like to have something to turn this off completely instead of having something harmless cluttering log file at error level...
Disabling the log completely for the cacheFilter class is not a good idea, and using the log4j extras to filter out a single exception isn't a good solution either.
The exception re-thrown from this filter is wrapped in a runtime exception, so it's not even immediate to catch and ignore those exceptions in another filter in the chain.
- is duplicated by
-
MAGNOLIA-5112 Responses served from cache can throw a RuntimeException that should be ignored (Occasional broken pipe for DINWebPro.woff)
- Closed
- is related to
-
MGNLCACHE-48 Cache filter should rethrow exceptions instead of wrapping them (at least when unrelated)
- Closed
-
MAGNOLIA-3595 Add an exception handler for filters.
- Closed
-
MAGNOLIA-5113 Generalize/centralize treatment of broken pipe / ClientAbortException / etc
- Closed