Log4net not write log on IIS .net core 6
Stefano Ghinassi - NetribeGroup
0
Reputation points
I have two .NET Core 6 services on IIS in two separate application pools. In both, I use Log4Net to log errors. I have given NETWORK DEVICE user permissions on the log directories. The first service logs correctly, but the second one does not. However, if I stop the second application pool and start the service from the command line, it starts logging.
However, no errors are recorded in the event viewer
Sign in to answer