Is there any way of disabling logging?

Thanks