From 2a9153269eaa6c897d96109bc6163c9defa179d7 Mon Sep 17 00:00:00 2001 From: AnnatarHe Date: Thu, 25 Dec 2025 23:13:36 +0800 Subject: [PATCH] feat(daemon): display CCOtel debug config in status command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Show the debug flag status (on/off) alongside port number when CCOtel is enabled in the daemon status output. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- commands/daemon.status.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/commands/daemon.status.go b/commands/daemon.status.go index 76184bd..3f2ff63 100644 --- a/commands/daemon.status.go +++ b/commands/daemon.status.go @@ -64,7 +64,11 @@ func commandDaemonStatus(c *cli.Context) error { fmt.Printf(" Socket Path: %s\n", socketPath) if cfg.CCOtel != nil && cfg.CCOtel.Enabled != nil && *cfg.CCOtel.Enabled { - fmt.Printf(" CCOtel: enabled (port %d)\n", cfg.CCOtel.GRPCPort) + debugStatus := "off" + if cfg.CCOtel.Debug != nil && *cfg.CCOtel.Debug { + debugStatus = "on" + } + fmt.Printf(" CCOtel: enabled (port %d, debug %s)\n", cfg.CCOtel.GRPCPort, debugStatus) } else { fmt.Println(" CCOtel: disabled") }