Honeydipper uses stdout and stderr for logging. The stdout is used for all levels of logs, while stderr is used for reporting warning or more critical messages. The daemon and each driver can be configured individually on logging verbosity. Just put the verbosity level in drivers.<driver name>.loglevel. Use daemon as driver name for daemon logging.
For example:
---
drivers:
daemon:
loglevel: INFO
web:
loglevel: DEBUG
webhook:
loglevel: WARNING
The supported levels are, from most critical to least:
CRITICAL - Critical errors that may cause the daemon to crashERROR - Error messages indicating something went wrongWARNING - Warning messages for potential issuesNOTICE - Normal but significant eventsINFO - Informational messages about normal operationDEBUG - Detailed debug information for troubleshootingYou can also control logging verbosity using the DEBUG environment variable. This provides a quick way to enable debug logging without modifying your configuration files.
To enable debug logging for all components:
DEBUG="*" honeydipper
To enable debug logging for a specific component:
DEBUG="daemon" honeydipper
To enable debug logging for multiple components:
DEBUG="daemon,web,webhook" honeydipper
The DEBUG environment variable supports wildcards. For example, to enable debug logging for all drivers starting with “web”:
DEBUG="web*" honeydipper
Note: The DEBUG environment variable overrides the loglevel setting in the configuration file. If you specify DEBUG="*", all components will log at DEBUG level regardless of their configured loglevel.