From a4ec706b0644ec3a13bd83f2c7eb0770d9f9da89 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Tue, 1 Nov 2016 10:57:07 -0500 Subject: [PATCH] enable console logging for apps --- packaging/osx/lbry-osx-app/lbrygui/main.py | 2 +- packaging/windows/lbry-win32-app/LBRYWin32App.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/osx/lbry-osx-app/lbrygui/main.py b/packaging/osx/lbry-osx-app/lbrygui/main.py index cbf897f8a..ba9240a7f 100644 --- a/packaging/osx/lbry-osx-app/lbrygui/main.py +++ b/packaging/osx/lbry-osx-app/lbrygui/main.py @@ -16,7 +16,7 @@ log = logging.getLogger() def main(): conf.update_settings_from_file() log_file = settings.get_log_filename() - log_support.configure_logging(log_file, console=False) + log_support.configure_logging(log_file, console=True) app = LBRYDaemonApp.sharedApplication() reactor.addSystemEventTrigger("after", "shutdown", AppHelper.stopEventLoop) reactor.run() diff --git a/packaging/windows/lbry-win32-app/LBRYWin32App.py b/packaging/windows/lbry-win32-app/LBRYWin32App.py index c43a41d76..abfbdf89c 100644 --- a/packaging/windows/lbry-win32-app/LBRYWin32App.py +++ b/packaging/windows/lbry-win32-app/LBRYWin32App.py @@ -279,7 +279,7 @@ if __name__ == '__main__': conf.update_settings_from_file() log_file = settings.get_log_filename() - log_support.configure_logging(log_file, console=False) + log_support.configure_logging(log_file, console=True) lbry_daemon = JSONRPCProxy.from_url(settings.API_CONNECTION_STRING)