PLANTA pulse-Logger
Information
- The PLANTA pulse logger can be configured to document the operation of the software.
- The related settings are configured in the Meteor Settings.
Example of a complete log output on all levels:
"logger": {
"enable": true,
"transports": {
"console": ["INFO", "DEBUG", "ERROR", "FATAL", "WARN"],
"file": ["INFO", "DEBUG", "ERROR", "FATAL", "WARN"],
"mongodb": ["INFO", "DEBUG", "ERROR", "FATAL", "WARN"]
}
}
Details
-
enable
: de/activates the logger
-
transports
: defines where the logs are displayed
-
console
: logs are displayed in the console
-
file
: logs are saved in log files
- The log files are saved in the directory
/logs
.
-
mongodb
: logs are saved in the MongoDB
- The log files are saved in the collection
AppLogs
.
- For each of the transports lists of log levels need to be entered as values:
-
DEBUG
: logs with debug information
-
INFO
: general information
-
WARN
: information on undesirable states which could potentially cause errors
-
ERROR
: information on errors
-
FATAL
: information on critical errors
Note
- Logs which are saved in the MongoDB can also be viewed in the panel Administration Application Logs.