removes logging stuff