mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
logging: fix for kivy
This commit is contained in:
parent
6940c424d1
commit
f22a23aaf2
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue