log:
format: gelfLogging
Heimdall logs concern everything that happens to Heimdall itself (startup, configuration, events, shutdown, and so on). Logs are written to stdout by default in text format.
Configuration
Logging configuration can be adjusted in the log property of heimdall’s configuration and supports following properties.
format: string (optional)With
textandgelfbeing the available formats.textis the default format. Andgelfdefines a JSON format adhering to GELF.Example 1. Configuring logging to emit logs using GELD format.Usage of text(default) format is not recommended for production deployments as it requires more computational resources and is hence slow.level: string (optional)Following log levels are available:
debug,info,warn,error,fatal,panicanddisabled. The last one effectively disables logging. You usually do not want to do this. By default, the level is set toerror.Example 2. Configuring logging to emit logs in debug level.log: level: debug
Last updated on Oct 8, 2022