Skip to content

Commit 6e92ecf

Browse files
committed
doc/logging.md: correct kmsg claim — kmsg and debug.log both preserve ANSI
With _strip_ansi removed, whatever ANSI is present in $* flows through to both debug.log and /dev/kmsg unchanged. The console output path additionally wraps messages with formatting ANSI sequences. Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent 53e0a8c commit 6e92ecf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/logging.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ color is never the sole signal; text prefixes carry meaning independently):
395395
\* INPUT prints a newline after user input, not before.
396396

397397
debug.log and /dev/kmsg preserve ANSI codes for terminal rendering with `less -R`.
398+
(The console output additionally wraps messages with formatting ANSI sequences.)
398399

399400
All console output goes to **`/dev/console`** — the kernel console device, which follows
400401
the `console=` kernel parameter and reaches whatever output the system was configured for

0 commit comments

Comments
 (0)