Log4Net not writing to file
I have the problem with Log4NET in combination with ASP.NET 7.0 that it doesn’t write to my Logfile, but he creates the Logfile and writes to the console.
So I read a lot about assembly references, log4net layout patterns etc. but nothing worked. In StartupBase, I configure Log4Net by passing the log4net.config.
The log4net.config is found, I testet it by renaming .
After renaming, the file changed, too. So, I think the config file was found.