Skip to content

Route debug output through the verbose logging option #18

Description

@cubrift

Problem

The --verbose option currently controls the Pino logger, but several direct console.log calls in the message and GIF flows always print response fragments, transcripts, participant IDs, message text, and API results. This creates noisy production logs and can expose chat content when verbose diagnostics were not requested.

Expected behavior

Routine diagnostic output should be suppressed by default and enabled consistently with --verbose, while warnings and actionable errors remain visible.

Suggested direction

Use a small logger wrapper or the existing Pino logger for debug messages. Keep user-facing status messages and error logs at appropriate levels.

Acceptance criteria

  • AI stream fragments, transcripts, participant-debug output, and raw GIF objects are not logged by default.
  • --verbose enables the useful diagnostic details.
  • Errors and warnings remain visible without verbose mode.
  • Logs no longer expose more message content than necessary.

Metadata

Metadata

Labels

codexUse for codex-generated issues only.enhancementPerformance update or requestgood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions