This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients jinq0123, nnorwitz, vinay.sajip
Date 2007-09-27.05:53:26
SpamBayes Score 0.042221684
Marked as misclassified No
Message-id <1190872407.71.0.828640241588.issue1752539@psf.upfronthosting.co.za>
In-reply-to
Content
I have now had some more time to think about this issue. I don't believe
any changes are warranted, because "Errors should never pass silently.
Unless explicitly silenced." and since rename errors are usually due to
application- or environment-specific conditions, you need to handle
these in application code.

If logging continues to use the existing log file because renaming
fails, then it does not behave according to expectations - e.g. maximum
sizes on log files will not be honoured.

Likewise, logging does not attempt to use makedirs() to ensure that the
parent directory path is created first - a typo in the path would lead
to an unexpected location for the log file.

While Python logging borrowed a lot from log4j, it is far from a
straight port; the Zen of Python is different from the Zen of Java.
History
Date User Action Args
2007-09-27 05:53:28vinay.sajipsetspambayes_score: 0.0422217 -> 0.042221684
recipients: + vinay.sajip, nnorwitz, jinq0123
2007-09-27 05:53:27vinay.sajipsetspambayes_score: 0.0422217 -> 0.0422217
messageid: <1190872407.71.0.828640241588.issue1752539@psf.upfronthosting.co.za>
2007-09-27 05:53:27vinay.sajiplinkissue1752539 messages
2007-09-27 05:53:26vinay.sajipcreate