Allow disabling logging