-
Notifications
You must be signed in to change notification settings - Fork 19
Logging module
Atis Elsts edited this page Oct 1, 2020
·
1 revision
The logging module is responsible for generation log output, showing it in the console and in the web interface, and saving it in the results directory.
-
LOG_FILE- the name of a log file. If a relative path, assumed to be relative to the configuration file. Ifnull, filenamelog.txtin the results directory is used. Default:null. -
LOG_LEVELS- user-defined log levels for various topics. A dictionary of type string -> integer ("topic" -> log_level). Not set by default. -
LOG_LEVELS_DEFAULT- the default logging levels for various predefined topics. A dictionary of type string -> integer ("topic" -> log_level). Should not be redefined by the user: useLOG_LEVELSinstead! Default values are 3 for all topics. -
LOG_LEVEL_DEFAULT_NOTOPIC- the log level for topics not included in theLOG_LEVELS_DEFAULTandLOG_LEVELSdictionaries. Non-negative integer, default value: 3.