remove log writing