I believe you'll find the answer here. http://mail-archives.apache.org/mod_mbox/logging-log4net-user/200609.mbox/%3 [EMAIL PROTECTED]
You'll want to use a Thread context property to store the user name. -----Original Message----- From: ebergemann [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 10:22 AM To: log4net-user@logging.apache.org Subject: AdoNetAppender Multiple Columns I am wanting to log the date, a message as well as the username to the database with log4net. However, it appears that the only value that I can explicitly indicate to log for log4net is the message. I do not want to have to place the username as well as other information all within the message string. How could I set up log4net to log to the database and have the applications username logged to a seperate column than the message is logged to? Any help would be greatly appreciated. -Eric Bergemann -- View this message in context: http://www.nabble.com/AdoNetAppender-Multiple-Columns-tf2338729.html#a650791 6 Sent from the Log4net - Users mailing list archive at Nabble.com.