Fix : Overriding logger.error

Don't drink and code please! :)