GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — added NewLineHandling to RemoteSyslogAppender - fixes #274 by FreeAndNil · Pull Request #276 · apache/logging-log4net

Conversation

@FreeAndNil

@FreeAndNil FreeAndNil commented Dec 7, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

added NewLineHandling to RemoteSyslogAppender - fixes #274

Before 3.3.0, newline characters (\r or \n) were always treated as line breaks.
Messages containing newlines were therefore split into multiple syslog entries.

Starting with 3.3.0, newline handling is configurable through the NewLineHandling option.
The new default is Escape.

The available modes are:

  • Escape (default since 3.3.0)
    Newlines are replaced with the escaped representations \r → \\r and \n → \\n.
    The message is sent as a single syslog entry.

  • Split (default before 3.3.0)
    The message is split at each newline into multiple syslog entries.
    Combined sequences (\r\n) count as a single break.
    This matches the behaviour in versions before 3.3.0.

  • Keep
    Newlines are preserved as-is in the message content.
    Many syslog servers can process entries containing embedded newlines, but server support varies.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@FreeAndNil
FreeAndNil requested a review from fluffynuts December 7, 2025 21:14
@FreeAndNil FreeAndNil added this to the 3.3.0 milestone Dec 7, 2025
@FreeAndNil FreeAndNil added the enhancement label Dec 7, 2025
fluffynuts
fluffynuts approved these changes Dec 8, 2025
View reviewed changes
FreeAndNil added 3 commits December 8, 2025 08:10
@FreeAndNil
added NewLineHandling to RemoteSyslogAppender - fixes #274
fdd527c
@FreeAndNil
updated documentation for new newline handling #274
226c2ba
@FreeAndNil
update version to 3.3.0
eb13d41
@FreeAndNil
FreeAndNil force-pushed the Feature/RemoteSysLogAppender-NewLineHandling branch from 7dfdee3 to eb13d41 Compare December 8, 2025 07:11
@FreeAndNil
FreeAndNil merged commit aa827bb into master Dec 8, 2025
@FreeAndNil
FreeAndNil deleted the Feature/RemoteSysLogAppender-NewLineHandling branch December 8, 2025 07:52
This was referenced Feb 20, 2026
Bump log4net from 3.2.0 to 3.3.0 frasermolyneux/demo-manager#35
Merged
Bump log4net from 3.2.0 to 3.3.0 acrolinx/sidebar-sdk-dotnet#244
Merged
Bump log4net from 3.2.0 to 3.3.0 ParadoxGameConverters/PGCG.commonItems#769
Merged
Bump log4net from 3.2.0 to 3.3.0 overdrive1708/FastFileReadonly#4
Merged
Bump log4net from 3.2.0 to 3.3.0 dotpcap/packetnet#244
Open
Bump log4net from 3.2.0 to 3.3.0 guibranco/CrispyWaffle#854
Merged
Bump the minor-patches group with 13 updates Ed-Fi-Exchange-OSS/Ed-Fi-ODS-AdminApp-Legacy#558
Closed
Bump log4net from 3.2.0 to 3.3.0 rogerbriggen/aspire_otel_test#26
Merged
Bump log4net from 3.2.0 to 3.3.0 mteinum/log4net.Rollbar#11
Open
Bump log4net from 3.0.3 to 3.3.0 bbtsoftware/AzureDevOpsPolicyConfigurator#244
Merged
This was referenced Mar 1, 2026
Bump log4net from 3.2.0 to 3.3.0 MjrTom/CastleCore#31
Merged
Bump log4net from 2.0.9 to 3.3.0 KameshKrishnan/DependabotTest#21
Open
This was referenced Mar 9, 2026
Bump dbup-core and 12 others Ed-Fi-Exchange-OSS/Ed-Fi-ODS-AdminApp-Legacy#559
Closed
Bump the minor-patches group with 14 updates Ed-Fi-Exchange-OSS/Ed-Fi-ODS-AdminApp-Legacy#560
Closed
Bump Dapper and 13 others Ed-Fi-Exchange-OSS/Ed-Fi-ODS-AdminApp-Legacy#562
Closed
Bump the minor-patches group with 15 updates Ed-Fi-Exchange-OSS/Ed-Fi-ODS-AdminApp-Legacy#563
Open
This was referenced Mar 24, 2026
Bump log4net from 2.0.17 to 3.3.0 osisdie/dotnet-webapi-k8s-boilerplate#7
Closed
Bump log4net from 3.0.4 to 3.3.0 quartznet/quartznet#2963
Merged
This was referenced Apr 14, 2026
Bump log4net from 1.2.10 to 3.3.0 uiters/hotel-management-v2#8
Open
Bump log4net from 1.2.10 to 3.3.0 thanhmv9/ThucTapChuyenMon_MaiVanThanh#1
Open
@dependabot dependabot Bot mentioned this pull request Jul 21, 2026
Bump log4net from 2.0.15 to 3.3.0 guidospadavecchia/DolarBot#7
Merged
This was referenced Jul 30, 2026
Bump log4net from 3.1.0 to 3.3.0 GridProtectionAlliance/SEBrowser#134
Closed
Bump log4net from 2.0.8 to 3.3.0 roblevineco/configgen#12
Open
This was referenced Aug 25, 2026
Bump log4net from 2.0.10 to 3.3.0 Logta/TRPGSkillBoard#5
Merged
Bump log4net from 2.0.15 to 3.3.0 ralforion/TDSProxy#3
Closed
@dependabot dependabot Bot mentioned this pull request Sep 2, 2026
Bump log4net from 2.0.13 to 3.3.0 RotorsAndCams/RAC-VORBasedNavigation#1
Open
This was referenced Sep 19, 2026
Bump log4net from 2.0.10 to 3.3.0 mqamarmunir/Interfacing_All_Applications#14
Merged
Bump log4net from 3.0.3 to 3.3.0 dadhi/DryIoc#714
Merged
Bump log4net from 2.0.10 to 3.3.0 mqamarmunir/Interfacing_All_Applications#15
Open
Bump log4net from 2.0.10 to 3.3.0 elvinyao/Topshelf.Abp.Integrations#8
Open
This was referenced Oct 8, 2026
Bump log4net from 2.0.13 to 3.3.0 SBY-TECH/MissionPlanner-gps-config#2
Open
Bump log4net from 2.0.15 to 3.3.0 octgn/OCTGN#2359
Merged
Bump log4net from 2.0.8 to 3.3.0 METACMETAHA/sap-wialon-fleet-audit#15
Closed
Bump log4net from 2.0.8 to 3.3.0 METACMETAHA/sap-wialon-fleet-audit#19
Closed
This was referenced Oct 22, 2026
Bump the nuget group with 3 updates AmirulAndalib/AMDiscordRPC#1
Open
Bump log4net from 2.0.8 to 3.3.0 yuu-eguci/MultiLangApp-old#6
Closed
This was referenced Oct 29, 2026
Bump the nuget group with 1 update rjmurillo/ApplicationInsights-dotnet#17
Open
Bump log4net from 2.0.12 to 3.3.0 rsymo/AzureDevOpsDemoGenerator-terminal#21
Merged
Bump log4net from 2.0.8 to 3.3.0 stockmansy/NoeSBot#10
Merged
Bump log4net from 2.0.10 to 3.3.0 snuids/nyx_dotnet_skeleton#4
Open
This was referenced Nov 6, 2026
Bump log4net from 2.0.3 to 3.3.0 ICMA-SERVICES/TSS_Ogun#4
Open
Bump log4net from 2.0.14 to 3.3.0 bigtyre-isaac/CameraStream#2
Closed
Bump log4net from 3.2.0 to 3.5.0 marcmy/ProtonVPN-win-app#153
Closed
Bump log4net from 2.0.15 to 3.6.0 sg-scale/NETworkManager--2022.12.20.0#5
Open
This was referenced Nov 14, 2026
Bump log4net from 2.0.10 to 3.3.0 CoderAllan/CSharpTools#12
Open
Fix transitive Drawing and XML dependency versions marcmy/ProtonVPN-win-app#172
Merged
Bump log4net from 2.0.12 to 3.3.0 MohsenMohamad/Ecommerce#48
Merged
Bump the nuget group with 1 update marcmy/ProtonVPN-win-app#177
Closed
This was referenced Nov 24, 2026
Bump log4net from 2.0.8 to 3.3.0 Unity-Technologies/logzio-dotnet#2
Open
Bump log4net from 2.0.10 to 3.3.0 Martinii89/Unreal-Library#13
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@fluffynuts fluffynuts fluffynuts approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

enhancement

Projects

None yet

Milestone

3.3.0

Development

Successfully merging this pull request may close these issues.

Adjust newline handling of the RemoteSysLogAppender

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@FreeAndNil @fluffynuts
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.