Application Center Usage - Application Logging Block

This is Interesting: Free IT Magazines  
Home > Archive > Application Center Usage > July 2004 > Application Logging Block





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Application Logging Block
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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com