Skip to content

fix(#1586): Redesign logging concept for clearer test workflow output#1587

Merged
christophd merged 1 commit into
mainfrom
feature/1586-redesign-logging-concept
Jul 10, 2026
Merged

fix(#1586): Redesign logging concept for clearer test workflow output#1587
christophd merged 1 commit into
mainfrom
feature/1586-redesign-logging-concept

Conversation

@christophd

@christophd christophd commented Jul 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Restructure log levels across the framework so INFO reflects the test workflow with action outcome indicators (✔/✘/⊘), DEBUG provides diagnostics (message content, connection details), and TRACE absorbs SPI registration noise
  • Add ANSI color support (LogColors) and configurable settings (CitrusLogSettings) for controlling colored output and message content logging
  • Introduce MessagePrinter abstraction with box-drawing formatted output (DefaultMessagePrinter) for structured message display
  • Refactor LoggingReporter to use the new log level hierarchy and color-coded test lifecycle output
  • Consolidate HTTP interceptor logging into shared LoggingInterceptorUtils
  • Update all log4j2.properties test configurations to use the new citrus logger category

Test plan

  • Verify existing unit tests pass (./mvnw test -pl core/citrus-base)
  • Verify LoggingReporterTest covers the redesigned reporter output
  • Run integration tests to confirm log output at INFO level shows clean test workflow
  • Verify ANSI colors render correctly in terminal and can be disabled via CitrusLogSettings
  • Confirm DEBUG level shows message content and connection diagnostics
  • Confirm TRACE level shows SPI registration details

Closes #1586

🤖 Generated with Claude Code

Restructure log levels so INFO reflects the test workflow with action
outcomes (✔/✘/⊘ indicators), DEBUG provides diagnostics, and TRACE
absorbs SPI registration noise. Add ANSI color support (LogColors),
toggleable message content logging, and box-drawing message formatting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@christophd christophd force-pushed the feature/1586-redesign-logging-concept branch from 103ca07 to 6f6b965 Compare July 10, 2026 15:41
@christophd christophd merged commit 37111a9 into main Jul 10, 2026
1 check passed
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.

Redesign logging concept for clear, structured test output

1 participant