NOT working .net core 2.0 log4net.Appender.AdoNetAppender

762 views Asked by At

I copied appender config section with "log4net.Appender.AdoNetAppender" type from previous .net 4.5.2 project to current .net core 2.0 one. It seems not working at all.

And I'm sure that my config section is correct.

Is any know how to make it work? let the log4net could store log information into database?

1

There are 1 answers

0
JBarszczewski On

This appender is not supported yet. Check supported appenders Look at NLog.Web.AspNetCore which support writing to database.