1
|
Select Start / Programs / Microsoft patterns and practices / Enterprise Library 4.1 - October 2008 / Enterprise Library Configuration. The Enterprise Library Configuration window appears.
|
2
|
3
|
4
|
5
|
In the Name pane, select Name. Type the name of the new category, and then press ENTER. The following example creates the category name PSQL Error.
|
7
|
Right-click the new category and select New / TraceListener Reference. A Formatted EventLog TraceListener node is added. From the ReferencedTraceListener drop-down list, select Formatted EventLog TraceListener.
|
9
|
Select File / Save Application. The Save As window appears. Type a name for your configuration file. By default, the file is saved to C:\Program Files\Microsoft Enterprise Library October 2008\Bin\filename.exe.config, where filename is the name that you typed in the Save As window.
|
1
|
2
|
Right-click Application Configuration, then select New / Logging Application Block. The Configuration section appears in the right pane.
|
3
|