Log which device has the time discrepancy (#69595)
This commit is contained in:
parent
d56f6f39c1
commit
62b6d03321
1 changed files with 2 additions and 1 deletions
|
@ -204,9 +204,10 @@ class ONVIFDevice:
|
||||||
|
|
||||||
if self._dt_diff_seconds > 5:
|
if self._dt_diff_seconds > 5:
|
||||||
LOGGER.warning(
|
LOGGER.warning(
|
||||||
"The date/time on the device (UTC) is '%s', "
|
"The date/time on %s (UTC) is '%s', "
|
||||||
"which is different from the system '%s', "
|
"which is different from the system '%s', "
|
||||||
"this could lead to authentication issues",
|
"this could lead to authentication issues",
|
||||||
|
self.name,
|
||||||
cam_date_utc,
|
cam_date_utc,
|
||||||
system_date,
|
system_date,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue