Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | utils/logging: reset handlers before initialization/reconfiguration | Aaron LI | 2016-09-29 | 1 | -2/+9 |
| | | | | Also improve the comments. | ||||
* | utils/logging.py: Hack the "filemode" arg of "basicConfig()" | Aaron LI | 2016-09-29 | 1 | -1/+4 |
| | | | | | "logging.basicConfig()" does NOT accept parameter "filemode" if the corresponding paramter "filename" NOT specified. | ||||
* | setup_logging(): Add parameter "level" | Aaron LI | 2016-09-29 | 1 | -2/+14 |
| | | | | Also fix a bug about parameter "stream". | ||||
* | Add utility "setup_logging()" to setup/update logging | Aaron LI | 2016-09-29 | 1 | -0/+70 |
This "setup_logging()" utility can setup the logging module with the given configuration dict, and can also update the logging configs by specify the additional parameters. |