Skip to content

Console.log Statements Left in Production Code #444

@roshankumar0036singh

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

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions