akkadotnet / Akka.Logger.log4net

Akka.NET logging integration for Log4Net library
Apache License 2.0
4 stars 7 forks source link

Not working with latest Akka NuGets #20

Closed PeterWimmerTmc closed 3 weeks ago

PeterWimmerTmc commented 11 months ago

The Akka.Logger.log4net NuGet is not compatible with recent Akka NuGets. I suspect it is due to changes in ILoggingAdapter, where methods have been moved to an extension class.

Please make a new NuGet available with updated Akka and log4net NuGets.

[ERROR][07.25.2023 07:49:48.881Z][Thread 0025][akka://xxx/system/log1-Log4NetLogger] Method not found: 'Void Akka.Event.ILoggingAdapter.Info(System.String, System.Object[])'. Cause: System.MissingMethodException: Method not found: 'Void Akka.Event.ILoggingAdapter.Info(System.String, System.Object[])'. at Akka.Logger.log4net.Log4NetLogger.<.ctor>b__2_8(InitializeLogger m) at lambda_method12(Closure, Object, Action1, Action1, Action1, Action1, Action1) at Akka.Tools.MatchHandler.PartialHandlerArgumentsCapture6.Handle(T value) at Akka.Actor.ReceiveActor.ExecutePartialMessageHandler(Object message, PartialAction1 partialAction) at Akka.Actor.ReceiveActor.OnReceive(Object message) at Akka.Actor.UntypedActor.Receive(Object message) at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message) at Akka.Actor.ActorCell.ReceiveMessage(Object message) at Akka.Actor.ActorCell.Invoke(Envelope envelope)`

PeterWimmerTmc commented 10 months ago

Is this repo still maintained?