Open jonnydee opened 3 months ago
Is this still a problem @jonnydee ?
@Aaronontheweb Unfortunately, it is. There is still this ? lambda_method
part in the log output.
Has to be an issue with the formatter IMHO
I am currently working on a fix for this bug. In my repository clone the implementation seems to work. I still need to do more tests and I am considering to write some unit tests, too.
Version Information Version of Akka.NET?
1.4.51
Which Akka.NET Modules?Akka.Logger.log4net
version1.3.1
Describe the bug We are using
log4net
and the correspondingAkka.Logger.log4net
integration. The log messages originating from Akka.NET as well as from our own actors (which are using theILoggingAdapter
returned byContext.GetLogger()
method) always have this? lambda_method
text as part of the message:Note that log messages not originating from Akka.NET related components don't look like this:
Our
log4net
logger configuration section which configures the "layout" of log messages looks like this:To Reproduce Steps to reproduce the behavior:
log4net
logger for Akka.akka.loggers = ["Akka.Logger.log4net.Log4NetLogger, Akka.Logger.log4net"]
log4net
appender configuration which contains a<layout ...>
section as shown above.Expected behavior We shouldn't see this
? lambda_method
part in the log message.Actual behavior This is how log messages Akka.NET itself logs look like:
Environment Windows 10 22H2 .NET Framework 4.8
Additional context In the Discord channel
akkadotnet-help
"Dopare" mentioned that: