Printk processed by logger overwrites each other #11495
Labels
area: Logging
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Enabled processing of printk messages by logger:
LOG_PRINTK=y
, with RTT backend, two subsequent printk calls without line break. Effect: second message is printed from beginning of the line and overwrites the first printed message.To Reproduce
Steps to reproduce the behavior:
LOG_PRINTK=y
printk("1: %s ", "first_printk"); printk("2: %d ", 7); printk("\n");
2: 7rst_printk
Expected behavior
Printouts should come one after another.
Impact
Incorrect printing of logs, medium priority problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: