claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Unable to disable verbose debug logs in the terminal

Open ayushkalani opened this issue 1 year ago • 1 comments

Environment

  • Platform (select one):
    • [x] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: 0.2.104 (Claude Code)
  • Operating System: macOs 15.3.2
  • Terminal: vscode terminal

Bug Description

Unable to disable verbose debug logs in the terminal. These logs are very noisy, and hard to turn them off. I have tried setting up this in my env but still doesn't work. export ANTHROPIC_DEBUG=FALSE export DEBUG=FALSE

Steps to Reproduce

  1. claude

Expected Behavior

there should be no debug logs

Actual Behavior

debugs logs are getting printed

Additional Context

Example of these logs when I start claude. ╭───────────────────────────────────────────────────────╮ │ ✻ Welcome to Claude Code research preview! │ │ │ │ /help for help, /status for your current setup │ │ │ ╰───────────────────────────────────────────────────────╯

※ Tip: Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits Anthropic:DEBUG:request https://api.anthropic.com/v1/messages?beta=true { method: 'post', path: '/v1/messages?beta=true', body: { model: 'claude-3-5-haiku-20241022', max_tokens: 512, messages: [ [Object] ], system: [ [Object] ], temperature: 0,

ayushkalani avatar May 07 '25 23:05 ayushkalani

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 10 '25 14:08 github-actions[bot]