Skip to content

Use of print() instead of structured logging in production codeΒ #165

@sm-28601

Description

@sm-28601

print() statements used instead of proper logging

πŸ“Œ Description

Some parts of the code use print() statements instead of structured logging.


πŸ“· Proof

πŸ“„ Code Reference

Image Image

Example:

  • print(f"CORS allowed origins: {allowed_origins}")

❗ Problem

  • Not suitable for production
  • No log levels (info, error, debug)
  • Hard to monitor and debug

βœ… Expected Behavior

  • Use proper logging (logger.info, logger.error)

🏷️ Labels

backend, cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report or bug fix related work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions