Context
Several backend paths still use console.error, console.warn, or console.info directly, including distribution services/controllers, database reset handling, migration generation, and utility transaction handling. The project already has a logger utility, so production logs should use one consistent path and avoid ad hoc console output.
Scope
Out of Scope
- Introducing a new logging provider
- Changing log transport infrastructure
- Rewriting the global error handler
Acceptance Criteria
Suggested Files or Packages
src/components/v1/distribution/
src/components/v1/Donation/
src/config/persistence/data-source.ts
src/scripts/generate-migration.ts
src/utils/
eslint.config.mjs
Context
Several backend paths still use
console.error,console.warn, orconsole.infodirectly, including distribution services/controllers, database reset handling, migration generation, and utility transaction handling. The project already has a logger utility, so production logs should use one consistent path and avoid ad hoc console output.Scope
src/utils/loggerOut of Scope
Acceptance Criteria
console.*for errors/info/warningsbun run type-checkpassesbun run testpassesbun run lintpassesSuggested Files or Packages
src/components/v1/distribution/src/components/v1/Donation/src/config/persistence/data-source.tssrc/scripts/generate-migration.tssrc/utils/eslint.config.mjs