07-27-04 10: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 emp
ty. I am unable to figureout why?
...
...
<eventSink name="logSink" description="Outputs events to the Windows Event L
og." type="Microsoft.ApplicationBlocks.Logging.EventSinks.LogEventSink, Micr
osoft.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 Even
t 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
[ Post a follow-up to this message ]
|