logging redirection for test runs