enable console logging for apps

This commit is contained in:
Job Evers-Meltzer 2016-11-01 10:57:07 -05:00
parent 30533a7986
commit a4ec706b06
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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)