Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Commit

Permalink
[ibkr] Enable INFO level logging for Flex Report downloads
Browse files Browse the repository at this point in the history
Fixes #78.
  • Loading branch information
jspahrsummers committed Jun 16, 2019
1 parent 011384e commit 447773e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bankroll/brokers/ibkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ def _downloadFlexReport(name: str, token: str, queryID: int) -> IB.FlexReport:
with Spinner(f'Downloading {name} report ') as spinner:
handler = _SpinnerOnLogHandler(spinner)
logger = logging.getLogger('ib_insync.flexreport')
logger.setLevel(logging.INFO)
logger.addHandler(handler)

try:
Expand Down

0 comments on commit 447773e

Please sign in to comment.