Skip to content

Commit 350f6c7

Browse files
Merge pull request ZoneMinder#4602 from ovargasp/ovargasp-patch-ONVIF-renew-logging
Change error log to debug log for Renew failure
2 parents 7cc2e06 + 23cb4e4 commit 350f6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zm_monitor_onvif.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ bool ONVIF::Renew() {
10731073
}
10741074

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

0 commit comments

Comments
 (0)