plex-mpv-shim icon indicating copy to clipboard operation
plex-mpv-shim copied to clipboard

logging.basicConfig(level=logging.DEBUG...) could be turned down by default?

Open geeohgeegeeoh opened this issue 3 years ago • 0 comments

As it stands, mpv_shim.py ships with:

logging.basicConfig(level=logging.DEBUG,

which sends one debug message per status update to STDERR, a stream of:

2021-09-13 13:25:34,357 [ DEBUG] timeline: TimelineManager::SendTimelineToSubscribers updating all subscribers

one per second, continuous.

I recoded it in the python3.9/ lib path, but can you document how to tune this via the .config/ path, or some cleaner way, or turn it down, (I went to INFO) and document where to turn it "up" in a Debugging section maybe?

(sorry if I missed this already being documented/done)

geeohgeegeeoh avatar Sep 13 '21 03:09 geeohgeegeeoh