Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

v1.1.4 - Custom logger

Choose a tag to compare

@Wurstkatze Wurstkatze released this 11 Dec 09:06

1. Custom Logger Integration

A custom logger has been added to enhance the bot’s logging capabilities.
This logger provides structured and consistent log output, making it easier to debug and monitor the bot’s behavior.
Key benefits of the custom logger:

  • Improved log readability with structured formatting.
  • Supports multiple log levels to suit different debugging needs.
  • Integrates seamlessly with existing configuration files and environment variables.

2. New Configurable Log Level Variable: logLevel

The logLevel variable has been introduced to give users fine-grained control over the verbosity of the bot’s logging.

Default Behavior:

The bot logs errors and warnings by default, ensuring critical issues are always highlighted without excessive log output.

Customizing Log Levels:

Users can enable more detailed logs (e.g., debug logs) by setting the logLevel via environment variables or configuration files.
This allows dynamic control over logging without altering the source code.

How to Use:

The bot only logs errors and warnings by default.
To enable debug logging, either set the environment variable DISCORD_BOT_LOG_LEVEL or app.debug.logLevel in config/development.yaml to DEBUG.

Authors: @Wurstkatze, @chatgpt
edit: why does the user chatgpt not exist but have a random profile picuture :/