Fixed wrong logger implementation