Getting Custom Source Name Using Enterprise Library Logging Block

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?U2hyaWthbnQgTW9yZQ==?=

    #1

    Getting Custom Source Name Using Enterprise Library Logging Block

    Using enterprise library's 3.1 Logging Application Block , how can i get the
    custom source name in the windows event log.When ever i am logging an error
    in windows event log , it gives the source name as Enterprise Library
    Logging.I want my custom source name instead of Enterprise Library
    Logging.Also how can i get the username and category also, through Logging
    Application Block.
Working...