Change error log to debug log for Renew failure

change from error to debug, is not necesary an error and if left like that can fill system/zmc logs.
This commit is contained in:
ovargasp
2026-02-07 15:05:58 -06:00
committed by GitHub
parent 4ebbc540ca
commit 23cb4e42e9

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);