Fixed the TestLogging test.