Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: I set to "pending" and "wontfix" to indicate what my proposed resolution was, and to await feedback - sorry for the misunderstanding.
The custom levels feature is not intended to be used casually (as it will cause unpredictable behaviour when used differently in different third-party libraries), but there are less common application-level scenarios (where logging interoperability is less of an issue) where custom levels might be needed - which is why they are provided. It seems acceptable to me to have different conventions for third-party code and application code. For example, NullHandler is recommended for use with third-party libraries but is not especially useful for applications. Configuration is not intended to *completely* cover the programmatic API - just to make it easier to do the most commonly-required things. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9576> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com