Versions
- Python: 3.10
- OS: Ubuntu Linux
- Pymodbus: 3.0.0dev5
- Modbus Hardware (if used):
Description
pymodbus.constants calls logging.basicConfig() on import, overriding any logging that the application attempts to configure later on. This is unexpected and a documented anti-pattern for Python logging.
There is more discussion in PR #1106, which I will close so that someone else can suggest a solution that the maintainers can agree with.