Problem
In src/config/database.ts line 14, the pool error handler uses console.error. In src/config/redis.ts lines 13, 17, console.error and console.log are used.
The rest of the app uses pino logger (src/utils/logger.ts). This inconsistency makes log correlation harder.
Fix
Use the pino logger instead of console methods.
Severity
Low — inconsistent logging.
Problem
In
src/config/database.tsline 14, the pool error handler usesconsole.error. Insrc/config/redis.tslines 13, 17,console.errorandconsole.logare used.The rest of the app uses pino logger (
src/utils/logger.ts). This inconsistency makes log correlation harder.Fix
Use the pino logger instead of console methods.
Severity
Low — inconsistent logging.