Change page error logging method to non-static