diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-02 13:19:38 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-02 13:19:38 +0800 |
commit | 88ac5bf6ef8836d5b2a8569e2c6466005b783077 (patch) | |
tree | 54475284551de1fa22a4ffeadc0cbde43a79e264 /fg21sim/configs | |
parent | 8d39fca1cdbb2ee6d5ec10f190b17aeb1995bccf (diff) | |
download | fg21sim-88ac5bf6ef8836d5b2a8569e2c6466005b783077.tar.bz2 |
configs: Update comments for the logging configs
Diffstat (limited to 'fg21sim/configs')
-rw-r--r-- | fg21sim/configs/00-general.conf.spec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fg21sim/configs/00-general.conf.spec b/fg21sim/configs/00-general.conf.spec index c1a0eb3..6d5c330 100644 --- a/fg21sim/configs/00-general.conf.spec +++ b/fg21sim/configs/00-general.conf.spec @@ -6,6 +6,8 @@ # This file contains the general configurations, which control the general # behaviors, or will be used in other configuration sections. + +# Configurations for initialization/reconfiguration of the `logging` module [logging] # DEBUG: Detailed information, typically of interest only when diagnosing # problems. @@ -22,13 +24,15 @@ level = option("DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL", default="INFO") # Set the format of displayed messages format = string(default="%(asctime)s [%(levelname)s] %(name)s: %(message)s") -# Set the date/time format in messages (default: ISO8601) +# Set the date/time format in messages datefmt = string(default="%Y-%m-%dT%H:%M:%S") # Set the logging filename (will create a `FileHandler`) +# If set to "" (empty string), then the `FileHandler` will be disabled. filename = string(default="") -# Set the mode to open the above logging file +# Set the mode to open the above logging file (default: "append" mode) filemode = option("w", "a", default="a") # Set the stream used to initialize the `StreamHandler` +# If set to "" (empty string), then the `StreamHandler` will be disabled. stream = option("stderr", "stdout", "", default="stderr") |