telnetlib3 icon indicating copy to clipboard operation
telnetlib3 copied to clipboard

How to set the default log level

Open alexdelprete opened this issue 1 year ago • 0 comments

Hi,

I'm using the library as a component in Home Assistant. I noticed the library writes a connection line at every connection and users are telling me it's spamming the log.

I'm using telnetlib3.open_connection() but in the parameter list found in docs I can't find a loglevel to be set.

Am I missing it or is it a missing functionality? In telnetlib there is a set_debuglevel() so I imagined there was a way to do it in telnetlib3.

Thanks a lot for any help.

alexdelprete avatar Feb 13 '24 16:02 alexdelprete