| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Force "DEBUG" log level if env variable "DEBUG_FG21SIM" set | Aaron LI | 2016-10-17 | 1 | -0/+4 | 
| | | |||||
| * | utils/logging.py: Small updates to the docstrings and comments | Aaron LI | 2016-10-17 | 1 | -14/+16 | 
| | | |||||
| * | utils/logging.py: Close handler before removing | Aaron LI | 2016-10-02 | 1 | -0/+3 | 
| | | |||||
| * | utils/logging.py: Save existing formatter for new handlers | Aaron LI | 2016-09-29 | 1 | -0/+5 | 
| | | | | | | | | By saving the existing formatter and setting for the new handlers, the configured format styles are kept. Otherwise, the newly created handlers does not have a formatter, thus the default format style gets used. | ||||
| * | 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. | |||||
