mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-30 06:48:23 +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:
@@ -1,3 +1,5 @@
|
||||
import logging
|
||||
logging.getLogger('libarchive').addHandler(logging.NullHandler())
|
||||
import libarchive
|
||||
import hashlib
|
||||
import sys
|
||||
|
Reference in New Issue
Block a user