Improve logging in test server