-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly use UTF-8 encoding in examples (#88)
* Explicitly use UTF-8 encoding in examples. log4net uses the system default encoding, which is typically Windows-1252 on .NET Framework 4.8. If the logs are forwarded to New Relic, the log forwarder expects them to be encoded in UTF-8 (without a BOM). This change updates the documentation to help users create a better configuration by default. * Add namespace to load encoding type class from * Document how to use UTF-8 encoding. log4net uses the system default encoding, which is typically Windows-1252 on .NET Framework 4.8. (.NET Core will use UTF-8 by default.) If the logs are forwarded to New Relic, the log forwarder expects them to be encoded in UTF-8 (without a BOM). This change updates the documentation to help users create a better configuration for that platform. * Add commented-out encoding element to log4net.config * Revert to netcoreapp3.0 to bypass Synk problem Co-authored-by: Alex Hemsath <[email protected]>
- Loading branch information
1 parent
fad22f8
commit ed91c89
Showing
4 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ples/NewRelic.LogEnrichers.Log4Net.Examples/NewRelic.LogEnrichers.Log4Net.Examples.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters