Skip to content

Inconsistent logging: console.error in database.ts and redis.ts #101

Description

@DeFiVC

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.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions