EHC ❯ Inefficient logging in net.sf.ehcache.pool.impl.DefaultSizeOfEngine
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
ehcache-core
-
-
ljacomet
-
Reporter: ljacomet
-
September 14, 2016
-
0
-
Watchers: 1
-
January 05, 2017
-
September 14, 2016
Description
Logging code in {{net.sf.ehcache.pool.impl.DefaultSizeOfEngine#sizeOf}} will always perform {{String}} concatenation when a {{MaxDepthExceededException}} is thrown.
This should be changed to leverage slf4j and not have the concatenation if logging is suppressed.
This was raised in https://hibernate.atlassian.net/browse/HHH-11097
Made use of slf4j substitutions