5.7. [log] section¶
This section specifies the log file name and the log level.
5.7.1. Input Format¶
Keywords and their values are specified by a keyword and its value in the form keyword = value.
Comments can also be entered by adding # (Subsequent characters are ignored).
5.7.2. Keywords¶
levelFormat : str
Description : Logging level. The following levels are available.
debug
info
warning
error
consoleFormat : str
Description : console output mode.
defaultwill examine if MPI environment is available or not.
mpifor parallel environment in which rank numbers are shown in error log.
serialfor serial environment.
nonesuppresses console output.
console_levelFormat : str
Description : Logging level for console output.
logfile_pathFormat : str
Description : Path to the log file. If not specified, logs will be send only to console. The parent directories will be automatically created if they are not present.
logfile_modeFormat : str
Description : MPI log type.
masterwill output logs to fiile only from rank=0.
collectwill write messages from all ranks to one file.
workerswill open one log file for each process designated by its rank.
serialwill not consider parallel environment.
logfile_levelFormat : str
Description : Logging level for log file output.
logfile_rankFormat : int or list of int
Description : MPI ranks from which logs are written to file. If not specified, all ranks are taken account of.