| Ravinder Jain 2004-07-27, 5:53 pm |
| When I use "logSink" provided by Application Logging Block My error event is getting logged but the value of processID, ProcessName ,StackThread are empty. I am unable to figureout why?
....
....
<eventSink name="logSink" description="Outputs events to the Windows Event Log." type="Microsoft.ApplicationBlocks.Logging.EventSinks.LogEventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bc5657a29e
daa6c8">
<parameter name="entryTypeFieldName" value="EventLogEntryTypeID" />
<parameter name="defaultEntryType" value="Information" />
<parameter name="enableFormatting" value="false" />
<parameter name="machineName" value="." />
<parameter name="formatterName" value="logSinkXslt" />
</eventSink>
But when I use following EIF event sink, I get all the information.
<eventSink name="eifLogSink" description="Outputs events to the Windows Event Log." type="Microsoft.EnterpriseInstrumentation.EventSinks.LogEventSink">
<parameter name="entryTypeFieldName" value="EventLogEntryTypeID" />
<parameter name="defaultEntryType" value="Information" />
<parameter name="machineName" value="." />
</eventSink>
How can I make logging applicaion Block sink work? Any lead?
--
Application Architect
Ravinder jain
|