Project
cortex
Description
Running compact run prints an internal tracing INFO line directly to stdout alongside the user-facing message. This makes piped output unreliable.
Error Message
Debug Logs
System Information
Screenshots
https://github.com/codvy8282/images/blob/main/20.png
Steps to Reproduce
$ cortex compact run 1>/tmp/stdout.txt 2>/tmp/stderr.txt
$ cat /tmp/stdout.txt
Expected Behavior
Only user-facing messages on stdout. Internal logs should go to stderr.
Actual Behavior
Running compaction cycle...
2026-04-10T05:33:27Z INFO cortex_compact::auto_compaction::scheduler: Auto-compaction cycle completed duration_ms=0
Compaction completed in 0ms
The INFO line appears on stdout, not stderr.
Additional Context
No response
Project
cortex
Description
Running compact run prints an internal tracing INFO line directly to stdout alongside the user-facing message. This makes piped output unreliable.
Error Message
Debug Logs
System Information
Screenshots
https://github.com/codvy8282/images/blob/main/20.png
Steps to Reproduce
$ cortex compact run 1>/tmp/stdout.txt 2>/tmp/stderr.txt
$ cat /tmp/stdout.txt
Expected Behavior
Only user-facing messages on stdout. Internal logs should go to stderr.
Actual Behavior
Running compaction cycle...
2026-04-10T05:33:27Z INFO cortex_compact::auto_compaction::scheduler: Auto-compaction cycle completed duration_ms=0
Compaction completed in 0ms
The INFO line appears on stdout, not stderr.
Additional Context
No response