erdewit / ib_insync

Python sync/async framework for Interactive Brokers API
BSD 2-Clause "Simplified" License
2.75k stars 723 forks source link

util.logToFile(path, pylogging.INFO) issues #692

Open kaidaniel82 opened 4 months ago

kaidaniel82 commented 4 months ago

Hello,

When using the logtofiles feature, the file becomes so large that it leads to problems. It seems that the operating system has limitations.

Additionally, log messages are captured from other standard modules like the request module.

Is it possible to support a rotating file setting, and is there a way to encapsulate the ib_insync logs from the rest of the application?

Best regards,