Fixed logging-related test failure introduced by e79b857.