Changed logger type to fix tests.