Can log4net be configured to run under its own identity?

I am thinking about using log4net in a MOSS (SharePoint) 2007 project, but I need to know if it is easy to set up a log to log using a specific username + password.

0


source to share


1 answer


Doesn't look like it (based on a quick look at the documentation), but you can certainly create a wrapper class for Log4Net that uses impersonation to perform logon as the required user



Impersonation and Delegation in .NET 2.0 (must have the same methods for 3.5)

+3


source







All Articles