Increase cssutils logging level to ERROR#85
Conversation
codingjoe
left a comment
There was a problem hiding this comment.
I am not sure if I understood how one is related to the other and what problem we are experiencing right now. Would you care to elaborate a little?
This is about an extensive logging coming from premailer. Instead we are receiving on every email render a bunch of logs like: I do not find these useful and want to drop them. |
codingjoe
left a comment
There was a problem hiding this comment.
If you want to decrease the level because it creates white noise with the templates we provide here, this seems OK. If it's for the same of the platform, I'd prefer to resolve the issue upstream so we projects can override the log level.
I tried to fix the issue in the cssutils library itself, but the logging setup there is convoluted, and I'd need more time to untie it. Providing a configurable would work, but again, I'd rather want cssutils play the rules and not fixing every (sub-)package that uses it. |
cssutils is doing some shady things to the logger singleton, that is why it cannot be properly controlled via Django logger (yet).
Thus, I am increasing the current level to
ERRORuntil the issue is resolved.