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 gjb1002
Recipients gjb1002, vinay.sajip
Date 2009-06-03.18:08:40
SpamBayes Score 9.2930364e-08
Marked as misclassified No
Message-id <1244052523.05.0.00824060625728.issue6136@psf.upfronthosting.co.za>
In-reply-to
Content
OK, I'll take point (c) further on comp.lang.python. As for the others,
it would be useful if you could at least understand my points.

a) I'm aware that there isn't necessarily a one-to-one correspondence
between loggers and files, don't see why that's relevant. I have no idea
what the "common" way of using logging is, if there is one. Having lots
of files in a logging set up doesn't seem to me in any way unusual, even
if the number of loggers is potentially even larger.

The main question is the one I posed before: what is the point of
opening files that will never be written to and sockets that will never
be used? Or to put it another way, if I submitted a patch that only
created handlers that were used by at least one logger, would you look
at it?

b) "compulsory" as in "compulsory as an entry in the config file". The
code would be

if "qualname" in opts:
    qn = cp.get(sectname, "qualname")
else:
    qn = log

To make life easier for those of us who don't see the point in naming
loggers differently in the config file and in the code...
History
Date User Action Args
2009-06-03 18:08:43gjb1002setrecipients: + gjb1002, vinay.sajip
2009-06-03 18:08:43gjb1002setmessageid: <1244052523.05.0.00824060625728.issue6136@psf.upfronthosting.co.za>
2009-06-03 18:08:41gjb1002linkissue6136 messages
2009-06-03 18:08:40gjb1002create