Skip to content

[Feature]: Default LOG_LEVEL should be info not debug in production #285

@traxeon

Description

@traxeon

Feature Category

Performance Optimization

Problem Statement

The management_compose.yaml sets NODE_ENV=production and LOG_LEVEL=debug simultaneously on the admin container. Debug logging in a production environment can leak sensitive information including environment variables, database queries, and internal API calls into log files.

Proposed Solution

Default LOG_LEVEL to info in the compose file, and document how to enable debug logging for troubleshooting purposes when needed.

Alternative Solutions

Provide the option during the installation script to set the level based on user preference.

Use Case

No response

Who would benefit from this feature?

All Users

How important is this feature to you?

Low - Minor convenience

Implementation Ideas (Optional)

No response

Examples or References

No response

Would you be willing to help implement this?

Maybe - with guidance

Additional Context

No response

Pre-submission Checklist

  • I have searched for existing feature requests that might be similar
  • This feature aligns with N.O.M.A.D.'s mission of offline-first knowledge and education
  • I understand that feature requests are not guaranteed to be implemented

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions