Should add log.isTraceEnabled check here