Skip to content
Draft
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: 1 addition & 1 deletion Source/ACE.DatLoader/ACE.DatLoader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.17" />
<PackageReference Include="log4net" Version="3.1.0" />
<PackageReference Include="System.Drawing.Common" Version="8.0.18" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/ACE.Database/ACE.Database.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.17" />
<PackageReference Include="log4net" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.18" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.3" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/ACE.Server/ACE.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Easy.Logger" Version="4.1.0" />
<PackageReference Include="Lib.Harmony" Version="2.3.6" />
<PackageReference Include="log4net" Version="2.0.17" />
<PackageReference Include="Log4Net.Async.Standard" Version="3.1.0" />
<PackageReference Include="log4net" Version="3.1.0" />
<PackageReference Include="McMaster.NETCore.Plugins" Version="2.0.0" />
<PackageReference Include="MySqlConnector" Version="2.4.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />
Expand Down
6 changes: 5 additions & 1 deletion Source/ACE.Server/log4net.config.docker
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
<level value="INFO" />
</logger>

<appender name="asyncForwarder" type="Log4Net.Async.AsyncForwardingAppender,Log4Net.Async">
<appender name="asyncForwarder" type="Easy.Logger.AsyncBufferingForwardingAppender, Easy.Logger">
<lossy value="false" />
<bufferSize value="512" />
<idleTime value="1" />
<fix value="Message, ThreadName, Exception" />
<appender-ref ref="Console" />
<appender-ref ref="RollingFileAppender" />
</appender>
Expand Down
8 changes: 6 additions & 2 deletions Source/ACE.Server/log4net.config.example
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,13 @@

<logger name="Packets">
<level value="INFO" />
</logger>
</logger>

<appender name="asyncForwarder" type="Log4Net.Async.AsyncForwardingAppender,Log4Net.Async">
<appender name="asyncForwarder" type="Easy.Logger.AsyncBufferingForwardingAppender, Easy.Logger">
<lossy value="false" />
<bufferSize value="512" />
<idleTime value="1" />
<fix value="Message, ThreadName, Exception" />
<appender-ref ref="Console" />
<appender-ref ref="RollingFileAppender" />
</appender>
Expand Down