if (log.isDebugEnabled()) guard would be nice