Reputation: 2880
I'm using Log4Net and Application Insights. I'm successfully logging to app insights using the Microsoft.ApplicationInsights.Log4NetAppender package but this stops all logging to my log file on the server. Ideally, I'd like to have Log4Net send data to app insights but also maintain my RollingFileAppender as well. Is this possible?
Upvotes: 0
Views: 572
Reputation: 27944
Yes you can just add both appenders to your logging configuration. Both appenders will log.
Upvotes: 2