include torba in log file

This commit is contained in:
Jack Robison 2019-02-04 18:25:47 -05:00
parent 8cda3143f2
commit 0685bc5689
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -247,6 +247,7 @@ def main(argv=None):
) )
file_handler.setFormatter(default_formatter) file_handler.setFormatter(default_formatter)
log.addHandler(file_handler) log.addHandler(file_handler)
logging.getLogger('torba').addHandler(file_handler)
if not args.quiet: if not args.quiet:
handler = logging.StreamHandler() handler = logging.StreamHandler()