• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 20034150861

08 Dec 2025 03:53PM UTC coverage: 49.595%. Remained the same
20034150861

push

github

web-flow
Add log level configuration support to VirtualMCPServer (#2837)

Add debug log level support to VirtualMCPServer

Adds LogLevel field to VirtualMCPServer CRD OperationalConfig to allow
enabling debug logging for vMCP instances. The field accepts only 'debug'
as a valid value. When not set, the vmcp binary defaults to info level.

When LogLevel is set to 'debug', the --debug flag is passed to the vmcp
container. The containerNeedsUpdate function now tracks container args
changes to ensure deployments are updated when debug is enabled or disabled.
This is necessary because the vmcp binary's logger initializes before the
config file is loaded, requiring the flag at startup.

Update existing test cases to include Args field checking. Add new test
cases for both log level change scenarios: enabling debug and removing
debug from the CR. Remove completed TODO for operational log level env var.

Bumps CRD chart version from 0.0.74 to 0.0.75.

Fixes #2781

Signed-off-by: 4t8dd <wanger.xyz@gmail.com>
Co-authored-by: Don Browne <dmjb@users.noreply.github.com>
Co-authored-by: Jakub Hrozek <jakub.hrozek@posteo.se>

15 of 15 new or added lines in 2 files covered. (100.0%)

9 existing lines in 2 files now uncovered.

26411 of 53253 relevant lines covered (49.6%)

59.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

68.37
/cmd/thv-operator/controllers/virtualmcpserver_controller.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc