Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logToFile in util.py does not work when using multiple file loggers #24

Open
danyal opened this issue Jun 4, 2024 · 0 comments
Open

Comments

@danyal
Copy link

danyal commented Jun 4, 2024

When using multiple file loggers, ib_insync outputs to the wrong file. I believe this is because logToFile is calling getLogger without passing a unique arg. Changing this line to logger = logging.getLogger('ib_insync') fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant