enable console logging for apps
This commit is contained in:
parent
30533a7986
commit
a4ec706b06
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue