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 chris.jerdonek, ezio.melotti, michael.foord, piotr.dobrogost, vinay.sajip
Date 2012-10-28.18:50:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351450250.81.0.09480434221.issue16312@psf.upfronthosting.co.za>
In-reply-to
Content
Is there any common use case other than logging? For example, logging could be covered by an additional command-line argument for unittest.main(), e.g.

--logconfig /path/to/logging-config.json

which would cause unittest.main() to load the JSON in the specified file (expected to be a suitable dict) and pass it to logging.config.dictConfig().

That would handle a perhaps not uncommon use case without the user having to write any code, but rather just provide a suitable logging configuration.
History
Date User Action Args
2012-10-28 18:50:50vinay.sajipsetrecipients: + vinay.sajip, ezio.melotti, michael.foord, chris.jerdonek, piotr.dobrogost
2012-10-28 18:50:50vinay.sajipsetmessageid: <1351450250.81.0.09480434221.issue16312@psf.upfronthosting.co.za>
2012-10-28 18:50:50vinay.sajiplinkissue16312 messages
2012-10-28 18:50:50vinay.sajipcreate