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

Resolved 💬 1 comment Opened May 7, 2025 by ayushkalani Closed May 14, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • 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.
<code>
╭───────────────────────────────────────────────────────╮
│ ✻ 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,
</code>

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗