Changed logger to log for compatibility with grimoire (temporary)