Skip to content

Implement proper Log Levels and support Structured Logging capabilities #1923

Open
@aldoborrero

Description

@aldoborrero

I've been working with the digger codebase recently and noticed that all log statements use Println rather than appropriate log levels. This approach can result in excessive logging output in some scenarios.

Currently, the backend CLI doesn't provide options for:

  • Setting log levels
  • Configuring log formats (e.g., structured logging)

Are there any plans to introduce more sophisticated logging solutions like zerolog or Go's built-in slog? This would allow for better log filtering and improved troubleshooting capabilities, especially in production environments.

Happy to discuss this further or contribute to implementation if there's interest (I started working on it on a branch).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions