Jakeler/ble-serial

Add super verbose mode for the bleak logger

Jakeler opened this issue · 0 comments

Currently the bleak logger is hardcoded to INFO level here:
https://github.com/Jakeler/ble-serial/blob/v2.4.1/ble_serial/log/console_log.py#L4

Reason at the time was that bleak at DEBUG level produces huge logs, this is not needed in most cases and makes errors hard to spot. Now we had cases where the connection fails somewhere in bleak, so having a super verbose option would be useful.

Idea would is to use -vv for it, but I have to check if argparse supports this in combination with long options.