Skip to content

feat: Enable GORM database query logging #50

@Starosdev

Description

@Starosdev

Summary

Enable GORM database query logging for improved debugging capabilities.

Why

Database query logging is currently disabled with a TODO comment. Enabling it would help debug database-related issues.

File

webapp/backend/pkg/database/scrutiny_repository.go (line 81)

//TODO: figure out how to log database queries again.

Acceptance Criteria

  • GORM logger configured and enabled
  • Log level configurable (e.g., only in debug mode)
  • No performance impact in production
  • Documentation updated if needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions