srhinos/primelooter

[BUG] Count Down Floods Log File

Closed this issue · 3 comments

âť“Describe the bug
The newly implemented count down for infinite loop feature also happens to flood the log file because I only hooked the stdout logging handler.

🔎Expected behavior
It either shouldn't log this wait at all, should log some generic unrelated message like "starting wait...", or should only log one (the first) line of the wait.

đź’¬Additional context
I need to make a decision on what behavior I want from this. :(

I would prefer something like "starting next run at 2022-03-24 22:53:56"

Totally agree with that. This is not nice to look at:
grafik

Totally open to a PR for this, I don't use text logs for anything so not gonna work on this until I have free time. If anyone wants to mess around with Python's logging and get a working solution without too hacky of code, totally open to it!