Just a suggestion for improvement as the logger creates conflict when integrating it with other loggers. I am happy to do it if people deem it necessary. Otherwise, a workaround is to use:
for handler in logging.root.handlers[:]: logging.root.removeHandler(handler)
Hello,
Just a suggestion for improvement as the logger creates conflict when integrating it with other loggers. I am happy to do it if people deem it necessary. Otherwise, a workaround is to use:
for handler in logging.root.handlers[:]: logging.root.removeHandler(handler)
in the script you use to run the py-opc library.
With best wishes.