Improve log.debug for queued messages