please, use log.error("{}", var)