You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Since Python 3.2 the log record factory can be changed by using `logging.setLogRecordFactory` [1]. Therefore use `logging.makeLogRecord` as recommended in the documentation: "LogRecord instances are created automatically by the Logger every time something is logged, and can be created manually via makeLogRecord() (for example, from a pickled event received over the wire)." [2] This fixes the test case `log_handler_test.LogRecordFactoryTest.test_logrecordfactory`. [1] https://docs.python.org/3/library/logging.html#logging.setLogRecordFactory [2] https://docs.python.org/3/library/logging.html#logrecord-objects Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> |
2 months ago | |
|---|---|---|
| .ci | 5 months ago | |
| .github | 4 months ago | |
| ansible_mitogen | 2 months ago | |
| docs | 2 months ago | |
| examples | 1 year ago | |
| mitogen | 2 months ago | |
| scripts | 2 years ago | |
| tests | 2 months ago | |
| .gitignore | 7 months ago | |
| .lgtm.yml | 7 years ago | |
| LICENSE | 5 years ago | |
| MANIFEST.in | 7 years ago | |
| README.md | 1 year ago | |
| dev_requirements.txt | 7 years ago | |
| netlify.toml | 1 year ago | |
| preamble_size.py | 5 months ago | |
| run_tests | 4 years ago | |
| setup.cfg | 7 months ago | |
| setup.py | 2 months ago | |
| tox.ini | 4 months ago | |
