-
I'm currently writing some test code using the pymodbus example server_async.py. It works alright for me, except that I would like to reduce the logging to my log output only. So far I have been unable to turn off the following log output of logging and pymodbus.logging.
I'm using my own logger 'sun-emu' and I'm trying the following command right now I also tried to set the other loggers to ERROR debug level but that didn't help, possibly due to this code occurring too early. So I suspect that you have a usable method to change debug levels I just don't know about it yet. I hope you can help. Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To answer my own question, I overlooked the fact that the -l argument was given on the command line and was set to debug. changing this to error changed the behavior as desired. Regards, Kilian |
Beta Was this translation helpful? Give feedback.
To answer my own question, I overlooked the fact that the -l argument was given on the command line and was set to debug. changing this to error changed the behavior as desired.
Regards,
Kilian