Skip to content

Colored Debug Logging and move Voice Event to Info level in logger#271

Open
aryanhasgithub wants to merge 12 commits into
OHF-Voice:mainfrom
aryanhasgithub:colored-logs
Open

Colored Debug Logging and move Voice Event to Info level in logger#271
aryanhasgithub wants to merge 12 commits into
OHF-Voice:mainfrom
aryanhasgithub:colored-logs

Conversation

@aryanhasgithub
Copy link
Copy Markdown
Contributor

@aryanhasgithub aryanhasgithub commented Mar 27, 2026

Description

Added colored debug logging to make log output easier to read.
Also moved Voice Events(TTS/STT) logging to info as it is useful for just looking at the STT and TTS logs

Changes

  • Added --colored-debug flag that enables colored log output
  • Each log level is colored differently:
    • DEBUG: Cyan
    • INFO: Green
    • WARNING: Yellow
    • ERROR: Red
    • CRITICAL: Magenta
  • Added _setup_logging() function to handle colored logging setup

Notes

--colored-debug also enables args.debug.
Closes #214.

Comment thread linux_voice_assistant/__main__.py
@florian-asche florian-asche added the enhancement New feature or request label Mar 28, 2026
imonlinux added a commit to imonlinux/linux-voice-assistant that referenced this pull request Apr 13, 2026
Split _start_conversation into two paths based on listen_during_wake_sound. When true (default), streams audio immediately with fire-and-forget wakeup sound (existing behavior). When false, plays wakeup sound with done_callback to _on_wakeup_sound_finished, which starts streaming after the sound completes. Port upstream PR OHF-Voice#271: Promote voice event logging from DEBUG to INFO in handle_voice_event for pipeline visibility without --debug.
imonlinux added a commit to imonlinux/linux-voice-assistant that referenced this pull request Apr 13, 2026
Promote voice event logging from DEBUG to INFO in handle_voice_event for pipeline visibility without --debug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add color highlighting to debug info

3 participants