added subscription feature to error logging