This is just nitpicking, but if you'll be changing the PR, you could add log.isDebugEnabled() to the condition...