Disable logging during tests