mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 01:53:28 +00:00
Suppress libarchive logging
libarchive ffi goes crazy logging at *import* time. Pre-empt use of the logging with a null handler prior to import.
This commit is contained in:
parent
737e7a440f
commit
4b3541e21d
@ -1,3 +1,5 @@
|
||||
import logging
|
||||
logging.getLogger('libarchive').addHandler(logging.NullHandler())
|
||||
import libarchive
|
||||
import hashlib
|
||||
import sys
|
||||
|
Loading…
Reference in New Issue
Block a user