Logging tests.