I am using Log4Net with the AdoNetAppender to log messages from a simple systray application into a SQL Server 2005 database.
I want to log the machine name along wi
You can use the pre-populated property log4net:HostName, for example:
log4net:HostName
This way you don't need to populate the MDC.