Logging error from portal and admin.