log final settings
This commit is contained in:
parent
529385bc5b
commit
2892abc7a8
1 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
import keyring
|
import keyring
|
||||||
|
import logging
|
||||||
import platform
|
import platform
|
||||||
from jnius import autoclass
|
from jnius import autoclass
|
||||||
from keyring.backend import KeyringBackend
|
from keyring.backend import KeyringBackend
|
||||||
|
@ -12,6 +13,7 @@ lbrynet_android_utils = autoclass('io.lbry.browser.Utils')
|
||||||
service = autoclass('io.lbry.browser.LbrynetService').serviceInstance
|
service = autoclass('io.lbry.browser.LbrynetService').serviceInstance
|
||||||
platform.platform = lambda: 'Android %s (API %s)' % (lbrynet_android_utils.getAndroidRelease(), lbrynet_android_utils.getAndroidSdk())
|
platform.platform = lambda: 'Android %s (API %s)' % (lbrynet_android_utils.getAndroidRelease(), lbrynet_android_utils.getAndroidSdk())
|
||||||
build_type.BUILD = 'dev' if lbrynet_android_utils.isDebug() else 'release'
|
build_type.BUILD = 'dev' if lbrynet_android_utils.isDebug() else 'release'
|
||||||
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
# Keyring backend
|
# Keyring backend
|
||||||
class LbryAndroidKeyring(KeyringBackend):
|
class LbryAndroidKeyring(KeyringBackend):
|
||||||
|
@ -55,6 +57,9 @@ def start():
|
||||||
log_support.configure_logging(conf.settings.get_log_filename(), True, [])
|
log_support.configure_logging(conf.settings.get_log_filename(), True, [])
|
||||||
log_support.configure_loggly_handler()
|
log_support.configure_loggly_handler()
|
||||||
|
|
||||||
|
log.info('Final Settings: %s', conf.settings.get_current_settings_dict())
|
||||||
|
log.info('Starting lbrynet-daemon');
|
||||||
|
|
||||||
if check_connection():
|
if check_connection():
|
||||||
daemon = Daemon()
|
daemon = Daemon()
|
||||||
daemon.start_listening()
|
daemon.start_listening()
|
||||||
|
|
Loading…
Reference in a new issue