Message174071
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. |
|
Date |
User |
Action |
Args |
2012-10-28 18:50:50 | vinay.sajip | set | recipients:
+ vinay.sajip, ezio.melotti, michael.foord, chris.jerdonek, piotr.dobrogost |
2012-10-28 18:50:50 | vinay.sajip | set | messageid: <1351450250.81.0.09480434221.issue16312@psf.upfronthosting.co.za> |
2012-10-28 18:50:50 | vinay.sajip | link | issue16312 messages |
2012-10-28 18:50:50 | vinay.sajip | create | |
|