Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verbose debug loggin of /ISAPI/ response possible? #10

Open
ozett opened this issue Nov 1, 2019 · 4 comments
Open

verbose debug loggin of /ISAPI/ response possible? #10

ozett opened this issue Nov 1, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@ozett
Copy link

ozett commented Nov 1, 2019

hi,
do you think that for informative purpose it is possible to get the XML-Response from the /ISAPI-calls to a debug-log?

like here:
https://forum.logicmachine.net/showthread.php?tid=1630&pid=10046#pid10046

maybe with your fork of the underlying hikvision-api?

@henry-spanka
Copy link
Owner

Sure but why?

@ozett
Copy link
Author

ozett commented Nov 16, 2019

see whats going on behind the curtains,
means get more verbose logging for debugging.
increase log-level, the normal range could be 1-10...

@henry-spanka henry-spanka added the enhancement New feature or request label Nov 16, 2019
@henry-spanka
Copy link
Owner

Actually we only make one call to /ISAPI/Event/notification/alertStream. And there is no real data returned that could be useful for debugging. Data is only received when an event happens and then we log it anyway as that's the purpose of the plugin.

@ozett
Copy link
Author

ozett commented Jun 17, 2020

to see the alert-stream i found this from here useful:

curl -u USER:PASS http://YOURCAMIP/ISAPI/Event/notification/alertStream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants