You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var logConfiguration = _appConfiguration.GetSection("Common").Get<LogConfiguration>();
api.Config.LoggerFactoryAdapter = new Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter(logConfiguration.FactoryAdapter.Arguments);
Each time I have an exception at the last line, because the Common.Logging.Log4Net129.Logging.Log4Net.Log4NetLoggerFactoryAdapter.cs seems to call methods that doesn't exists anymore in log4net :
Is there any feedback regarding this? I'm still facing this issue and would like to have a possible solution.
EDIT: I was checking and I've noticed an EXTERNAL configType option in appsettings.json. Maybe that's what I need since I've configured log4net already in my app. Will give it a try tomorrow.
Hi there,
I can't find a way to make theses package works in a .NET Core 2.0 web project.
appsettings.json :
Startup.cs :
Each time I have an exception at the last line, because the Common.Logging.Log4Net129.Logging.Log4Net.Log4NetLoggerFactoryAdapter.cs seems to call methods that doesn't exists anymore in log4net :
If I understand correctly, those two methods have been excluded from log4net 208 (maybe before ?) if the framework used is above netstandard 1.3 : https://github.com/apache/logging-log4net/blob/master/src/Config/XmlConfigurator.cs (lines 319 & 816).
Am I missing something here ?
The text was updated successfully, but these errors were encountered: