removes logging statements