Added logger.error