You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have faced the same issue too, you can turn off this feature inside the logging.yml
disable_existing_loggers: False
and also disable the propagation in your script after creating jsnapy object from class to avoid duplicate logs:
logging.propagate = False
Description of Issue/Question
Jsnapy is overwrite the logger I've defined. I believe this is similar to: #263
Workarounds (besides printing and writing to a file)
Sample code:
This produces:
If I comment out "js = SnapAdmin()"
Additional details
Re-instantiating the logger after invoking SnapAdmin doesn't work when I'm looping through devices. It only works for the first device.
PIP List
Steps to Reproduce Issue
(Include debug logs if possible and relevant. Error trace would be helpful too)
Versions Report
(Provided by running
jsnapy --version
. Please also mention python version.)The text was updated successfully, but these errors were encountered: