Browse Source

logging: fix for kivy

regtest_lnd
SomberNight 6 years ago
parent
commit
f22a23aaf2
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/logging.py

3
electrum/logging.py

@ -133,6 +133,9 @@ def configure_logging(config):
log_directory = pathlib.Path(config.path) / "logs"
_configure_file_logging(log_directory)
# if using kivy, avoid kivy's own logs to get printed twice
logging.getLogger('kivy').propagate = False
from . import ELECTRUM_VERSION
_logger.info(f"Electrum version: {ELECTRUM_VERSION} - https://electrum.org - https://github.com/spesmilo/electrum")
_logger.info(f"Python version: {sys.version}. On platform: {platform.platform()}")

Loading…
Cancel
Save