Skip to content

Commit

Permalink
🔖 bump version to 2.0.12, fixes LOG4NET-(652|653)
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffynuts committed Oct 18, 2020
1 parent bf81ef2 commit 47aaf46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "log4net",
"version": "2.0.9",
"version": "2.0.12",
"description": "Log4Net is a logging framework for .NET",
"scripts": {
"test": "cross-env NUNIT_PROCESS=Single MAX_CONCURRENCY=1 run-s clean-build \"zarro test-dotnet\" run-dotnet-core-tests",
Expand Down
4 changes: 2 additions & 2 deletions src/log4net/Core/LoggingEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -937,9 +937,9 @@ private static string TryGetCurrentUserName()
// some undefined set of SecurityPermission flags.
LogLog.Debug(
declaringType,
"Security exception while trying to get current windows identity. Error Ignored. Empty user name."
"Security exception while trying to get current windows identity. Error Ignored."
);
return null;
return Environment.UserName;
}
catch
{
Expand Down
2 changes: 1 addition & 1 deletion src/log4net/log4net.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>log4net</PackageId>
<Version>2.0.11</Version>
<Version>2.0.12</Version>
<Title>Apache log4net</Title>
<Product>Apache log4net</Product>
<Description>
Expand Down

0 comments on commit 47aaf46

Please sign in to comment.