-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Seek support in logging hooks #104
Comments
Hey @johanjeppsson, thank you man! Humm, I didn't know some internal logging used |
Humm, I've analyzed the But in this rotating handler, when it detects a file rollover is due, it will close that file stream (the instrumented one by |
Well, I'm also thinking about a kinda radical idea, I could maybe up one level, and instrument the handler itself, in addition of its stream... That way I could include a setter there, and detect any assignments. |
Sounds good! Thanks for the quick response! |
Hey @Miladiouss, Anyway, I've handled that exact error you mention in #107, but yours seems simple enough: |
Hi @rsalmei - I just upgraded from 1.6.1 to 2.3.1. I did not see the issue described above in 1.6.1 but now I have the same error as listed above. |
Hello @rjkowalski. |
Maybe we could add a Test for
And maybe there could be a check of active loggers and raise some warning or exception to notify you that |
Hey @jfthuong, I like my Regarding the warning, it is perhaps a good idea. I'll try to think about that, or even implement the actual support if I can. |
This is fixed! |
Hi, I agree with @johanjeppsson, this project is great! I've been having this exact same problem too (I'm using RotatingFileHandler) and when I searched for it I discovered that it is solved! 🥳 So my only question is when the next release will be released, I'm using 2.4.1 at the moment (which pip says it's the newer one) and it is not fixed there. I do not want to put pressure or anything, just wanted to know an approximate date if possible. Thanks again for this incredible piece of software! |
causing issues with rolling logs found. Once this is fixed then it can be implemented again rsalmei/alive-progress#104
causing issues with rolling logs found. Once this is fixed then it can be implemented again rsalmei/alive-progress#104
… logs found. Once this is fixed then it can be implemented again rsalmei/alive-progress#104" This reverts commit f2ed897.
Hi folks! I'm committing it at this exact moment!! |
I'd just like to leave here a known issue: I could not implement that radical idea I was thinking about, so my previous comment remains correct:
So, although this new version loses the enriched text when the rotation occurs, at least it does work!!
|
…into develop * 'master' of https://github.com/StuffAnThings/qbit_manage: [pre-commit.ci] pre-commit autoupdate send notification on nohardlink warning and remove force failure 3.4.2 Fixes #196 refactor noHL better logging for FileNotFoundError removes alive-progress dependency causing issues with rolling logs found. Once this is fixed then it can be implemented again rsalmei/alive-progress#104 better error handling for noHL fixes noHL bug with remote not being replaced better trace for nohardlink better error checking in commands minor bug fix in torrent tagging bug fix on prev refactor bit a refactoring Fixes #192 Fixes noHL logic with false negatives not being caught with small files. 3.4.1
First of all; I really like this project. It makes creating nice looking progress bars a breeze compared to other solutions that I've tried in the past. Nice work!
Today I ran into an issue related to loggers after upgrading to 2.0.0. I'm using a RotatingFileHandler and don't disable existing loggers, which seems to cause issues with the internal logging in alive-progress. The following small example can be used to reproduce the issue that I'm seeing
which results in the following error
The text was updated successfully, but these errors were encountered: