Search

You searched for the word(s): userid:875518

Matching Posts

  • Trace Listeners Filtering does not restict output.

    I have a JobEntry with Severity=Infomation, and in my configurtion file the relevant CategorySource has its SwitchValue=Infomation, but with the Destination (the categories TraceListener) has its Filter=Warning. Why do i get the trace output? You see, I would think that the TraceListener with Filter=Warning, which does not include Information Events, would restrict the output. When doesn't it? In what scenario would hte Filter attribute on the TraceListener, restrict output? Thanks, Paul
    Posted to Microsoft Application Blocks (Forum) by schwartzenberg on 6/17/2009
    Filed under: TraceListener Filtering
  • Re: Trace Listeners Filtering does not restict output.

    I debugged it through. It seems in EntLib41Src\Blocks\Logging\Src\Logging\LogSource.cs at listener.TraceData(manager, Name, eventType, id, logEntry); That the lister object has its Filter property set to the value Information and that the Destination (TraceListener) Filter attribute (whatever value it has) - it has no ramification . I don't know whether it is intended so, .... it might be a bug. Regards, Paul
  • sample for EntLib 4.1 for logging to database or sql server

    Using EntLib 4.1 Would anyone have a sample or link to one, for logging to the sql server?? I tried this link ( click here ) by David Hayden ... but there is no code on the site or download link for it... Thanks, Paul
    Posted to Microsoft Application Blocks (Forum) by schwartzenberg on 6/16/2009
    Filed under: loggingng database
  • the meaning of the source attribute in the "add" element under Listeners.

    Hello, What does the source attribute of the add node (adding a Listener) in the EntLib configuration file mean? Eg. source="5" in the added Listerner below. <add source="5" formatter="Text Formatter" log="Application" machineName="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken
    Posted to Microsoft Application Blocks (Forum) by schwartzenberg on 6/15/2009
    Filed under: source attribute
Page 1 of 1 (4 items)