Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ updates:
update-types: ["version-update:semver-major"]
- dependency-name: "Microsoft.EntityFrameworkCore"
update-types: ["version-update:semver-major"]
- dependency-name: "log4net"
update-types: ["version-update:semver-major"]
- dependency-name: "Microting.EntityFrameworkCore.MySql"
update-types: ["version-update:semver-major"]

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ AppVeyor/
# ACEmulator specific files
[Cc]onfig.js
log4net.config
serilog.json
Database/tools/password.txt
docker.env
docker-compose.yml
Expand Down
4 changes: 0 additions & 4 deletions Source/ACE.Adapter.Tests/ACE.Adapter.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,4 @@
</None>
</ItemGroup>

<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-4f7c-pmjv-c25w" />
</ItemGroup>

</Project>
4 changes: 0 additions & 4 deletions Source/ACE.Adapter/ACE.Adapter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,4 @@
</None>
</ItemGroup>

<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-4f7c-pmjv-c25w" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions Source/ACE.Common/Logging/LogManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ namespace ACE.Common.Logging
/// Loggers may be requested at any time - including from static field initializers that run before
/// Program.Main - because LoggerFactory.AddProvider wires a new provider into every logger the factory
/// has already handed out. Ordering therefore does not matter.<para />
/// Messages logged before a provider has been added are dropped, exactly as log4net dropped them before
/// XmlConfigurator ran.
/// Messages logged before a provider has been added are dropped. ACE.Server adds its Serilog provider at the
/// start of Program.Main.
/// </summary>
public static class LogManager
{
public static ILoggerFactory Factory { get; } = new LoggerFactory();

/// <summary>
/// Category name is the type's full name, matching log4net's logger naming.
/// Category name is the type's full name. Serilog receives it as SourceContext, which MinimumLevel overrides in serilog.json match on.
/// </summary>
public static ILogger GetLogger(Type type) => Factory.CreateLogger(type);

Expand Down
4 changes: 0 additions & 4 deletions Source/ACE.DatLoader.Tests/ACE.DatLoader.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,4 @@
</None>
</ItemGroup>

<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-4f7c-pmjv-c25w" />
</ItemGroup>

</Project>
4 changes: 0 additions & 4 deletions Source/ACE.DatLoader/ACE.DatLoader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,4 @@
</None>
</ItemGroup>

<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-4f7c-pmjv-c25w" />
</ItemGroup>

</Project>
4 changes: 0 additions & 4 deletions Source/ACE.Database.Tests/ACE.Database.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,4 @@
</None>
</ItemGroup>

<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-4f7c-pmjv-c25w" />
</ItemGroup>

</Project>
4 changes: 0 additions & 4 deletions Source/ACE.Database/ACE.Database.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,4 @@
</None>
</ItemGroup>

<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-4f7c-pmjv-c25w" />
</ItemGroup>

</Project>
3 changes: 2 additions & 1 deletion Source/ACE.Server.Tests/ACE.Server.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
</ItemGroup>

<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-4f7c-pmjv-c25w" />
<None Update="Logging\TestData\**" CopyToOutputDirectory="PreserveNewest" />
<None Include="..\ACE.Server\serilog.json.*" Link="Logging\TestData\%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

</Project>
Loading