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 dsuch
Recipients dsuch, techtonik, vinay.sajip
Date 2014-06-18.14:30:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403101818.23.0.192104665347.issue11129@psf.upfronthosting.co.za>
In-reply-to
Content
Hello friends,

@vinay.sajip - the use case for this feature is actually something I come across fairly often.

In an application I have dozens and hundreds of logger instances. However, they all fall into one of several loggers.

Most of the instances are obtained through a module-wide logger = getLogger(__name__).

Now I have a feature in the application split over a couple of modules, in different namespaces:

zato.common.scheduler
zato.server.scheduler

They are independent yet related and it would be most convenient if I could list both in qualname - they really should share the logging configuration, at no point they should have separate handlers, logging formats, anything.

As an aside, regarding dict configuration - I know you made the comment in 2011 so it may not represent your current opinion but please keep in mind that logging config is something that on production is updated by administrators, i.e. whatever the latest trends in software development are, they aren't necessarily programmers.

People I work with have no problems with customizing ini-like files but Python dicts are an entirely different story, they are simply afraid of doing it - a missing apostrophe may mean a couple of hours wasted, for instance.
History
Date User Action Args
2014-06-18 14:30:18dsuchsetrecipients: + dsuch, vinay.sajip, techtonik
2014-06-18 14:30:18dsuchsetmessageid: <1403101818.23.0.192104665347.issue11129@psf.upfronthosting.co.za>
2014-06-18 14:30:18dsuchlinkissue11129 messages
2014-06-18 14:30:17dsuchcreate