Changed Logging for testing purposes