Merge pull request #4602 from ovargasp/ovargasp-patch-ONVIF-renew-logging

Change error log to debug log for Renew failure
This commit is contained in:
Isaac Connor
2026-02-07 17:44:58 -05:00
committed by GitHub

View File

@@ -1073,7 +1073,7 @@ bool ONVIF::Renew() {
}
if (proxyEvent.Renew(subscription_address_.c_str(), nullptr, &wsnt__Renew, wsnt__RenewResponse) != SOAP_OK) {
Error("ONVIF: Couldn't do Renew! Error %i %s, %s", soap->error, soap_fault_string(soap), soap_fault_detail(soap));
Debug(1, "ONVIF: Couldn't do Renew! Error %i %s, %s", soap->error, soap_fault_string(soap), soap_fault_detail(soap));
if (soap->error == 12) { // ActionNotSupported
Debug(2, "ONVIF: Renew not supported by device, continuing without renewal");
setHealthy(true);