Skip to content

Commit c7cdfd4

Browse files
AnnatarHeclaude
andcommitted
fix(daemon): add debug flag to CCOtel logs debug message
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e9f1fb7 commit c7cdfd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

daemon/ccotel_processor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (p *CCOtelProcessor) ProcessMetrics(ctx context.Context, req *collmetricsv1
131131

132132
// ProcessLogs receives OTEL logs/events and forwards to backend immediately
133133
func (p *CCOtelProcessor) ProcessLogs(ctx context.Context, req *collogsv1.ExportLogsServiceRequest) (*collogsv1.ExportLogsServiceResponse, error) {
134-
slog.Debug("CCOtel: Processing logs request", "resourceLogsCount", len(req.GetResourceLogs()))
134+
slog.Debug("CCOtel: Processing logs request", "resourceLogsCount", len(req.GetResourceLogs()), slog.Bool("debug", p.debug))
135135

136136
if p.debug {
137137
p.writeDebugFile("ccotel-debug-logs.txt", req)

0 commit comments

Comments
 (0)