Skip to content

syslog: convert \n to \r\n in syslog framework layer - #14362

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
yangsong8-ai:m_master
Oct 16, 2024
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
yangsong8-ai:m_master

Conversation

@yangsong8-ai

Copy link
Copy Markdown

Note: Please adhere to Contributing Guidelines.

Summary

Move the CRLF transformation logic into the syslog framework for unified processing.

Impact

log output

Testing

selftest

@github-actions github-actions Bot added Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Arch: avr Issues related to all AVR(8-bit or 32-bit) architectures Arch: hc Issues related to HC architecture Arch: mips Issues related to the MIPS architecture Arch: openrisc Issues related to the OpenRISC architecture Arch: renesas Issues related to the Renesas chips Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Arch: sparc Issues related to the SPARC architecture Arch: tricore Issues related to the TriCore architecture from Infineon Arch: x86 Issues related to the x86 architecture Arch: x86_64 Issues related to the x86_64 architecture Arch: xtensa Issues related to the Xtensa architecture Arch: z16 Issues related to the Z16 architecture Arch: z80 Issues related to the Z80 architecture Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces. labels Oct 16, 2024
@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@github-actions

Copy link
Copy Markdown

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@xiaoxiang781216
xiaoxiang781216 merged commit 8c13b8d into apache:master Oct 16, 2024
@raiden00pl

raiden00pl commented Oct 19, 2024 •

Copy link
Copy Markdown
Member

@yangsong8-ai hi, after this PR assert messages are completely unreadable due to missing \r (tested on nrf52832-dk)

image

I assume other boards are also affected

@yangsong8-ai

Copy link
Copy Markdown
Author

This patch #14421 fixes this issue. The default value will enable convert LF to CRLF in #14421.

xiaoxiang781216 added a commit to xiaoxiang781216/nuttx that referenced this pull request Oct 21, 2024
since the conversion is moved to common layer after:
apache#14362

Signed-off-by: Xiang Xiao <[email protected]>
anchao pushed a commit that referenced this pull request Oct 21, 2024
since the conversion is moved to common layer after:
#14362

Signed-off-by: Xiang Xiao <[email protected]>

@cederom cederom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @yangsong8-ai !! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Arch: avr Issues related to all AVR(8-bit or 32-bit) architectures Arch: hc Issues related to HC architecture Arch: mips Issues related to the MIPS architecture Arch: openrisc Issues related to the OpenRISC architecture Arch: renesas Issues related to the Renesas chips Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Arch: sparc Issues related to the SPARC architecture Arch: tricore Issues related to the TriCore architecture from Infineon Arch: x86 Issues related to the x86 architecture Arch: x86_64 Issues related to the x86_64 architecture Arch: xtensa Issues related to the Xtensa architecture Arch: z16 Issues related to the Z16 architecture Arch: z80 Issues related to the Z80 architecture Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants