uxair
05-24-2007, 11:22 AM
I'm developing an application on visual studio 2005, and I want to know how can I set the thread name for my application.
Background: I'm using log4net for logging app-messages, if defined under ConversionPattern message also cantains thread name and incase thread does not have a name it shows the thread ID which I'm getting in my log messages.
eg:
2007-05-24 14:52:03,858 [11] INFO CSVLogger - test msg
2007-05-24 14:52:46,219 [9] INFO CSVLogger - test msg
Background: I'm using log4net for logging app-messages, if defined under ConversionPattern message also cantains thread name and incase thread does not have a name it shows the thread ID which I'm getting in my log messages.
eg:
2007-05-24 14:52:03,858 [11] INFO CSVLogger - test msg
2007-05-24 14:52:46,219 [9] INFO CSVLogger - test msg