Skip to content

Reduce number of logs in watch mode - #35

Open
konard wants to merge 3 commits into
mainfrom
issue-34-7b5a04eb
Open

Reduce number of logs in watch mode#35
konard wants to merge 3 commits into
mainfrom
issue-34-7b5a04eb

Conversation

@konard

@konard konard commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Summary

• Reduce excessive logging in watch mode for cleaner user experience
• Move verbose debugging messages behind --verbose flag
• Keep essential INFO messages for file changes and save confirmations
• Maintain full debugging capability when --verbose is used

Changes Made

• Hide directory tree display in watch mode unless --verbose is used
• Move DEBUG and TRACE log messages behind isVerbose flag
• Quiet keychain monitoring messages on macOS unless verbose
• Added example documentation showing the difference
• Bump version to 1.2.3

Test plan

  • Run syntax check: node --check claude-profiles.mjs
  • Run test suite: npm test
  • Verify help message works: ./claude-profiles.mjs --help
  • Confirmed normal watch mode has reduced logging
  • Confirmed verbose mode retains all debug information

Before vs After

Before: Watch mode showed directory trees, debug messages, trace logs, and keychain monitoring details by default

After:

  • Normal mode: Clean output with essential messages only
  • Verbose mode (--verbose): Full debugging information available

🤖 Generated with Claude Code


Resolves #34

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #34
@konard konard self-assigned this Sep 10, 2025
konard and others added 2 commits September 10, 2025 20:35
- Hide directory tree display in watch mode unless --verbose is used
- Move DEBUG and TRACE log messages behind isVerbose flag
- Quiet keychain monitoring messages on macOS unless verbose
- Keep essential INFO messages for file changes and save confirmations
- All debugging information still available with --verbose flag
- Bump version to 1.2.3

Resolves issue #34: Users now get cleaner watch mode output by default
while maintaining full debugging capability when needed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard changed the title [WIP] Reduce number of logs in watch mode Reduce number of logs in watch mode Sep 10, 2025
@konard
konard marked this pull request as ready for review September 10, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce number of logs in watch mode

1 participant