Remove occurrence of variable 'logs'