Skip to content

Console.log Statements Left in Production Code #444

Description

@roshankumar0036singh

Console.log Statements Left in Production Code

  • Location: Multiple files across backend and mobile
    • apps/backend/src/app.ts
    • apps/mobile/src/screens/*.tsx
    • apps/backend/prisma/seed.ts
    • apps/backend/src/utils/validateEnv.ts
    • certificates.gcoen.ac.in/src/actions/certificate-admin.ts
  • Issue: Debug console.log statements will leak to production logs and client consoles, exposing sensitive data.
  • Fix: Replace with proper logger (pino for backend already configured); remove all console.* from production paths or gate behind dev flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions