Adding variable to logs