EIF SimpleInstrumentation walkthrough problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Brad (anonymous_at_discussions.microsoft.com)
Date: 07/09/04

  • Next message: Linus: "EIF: How to Set the Event ID?"
    Date: Fri, 9 Jul 2004 15:38:41 -0700
    
    

    I cannot get the first "walkthrough" in EIF help to
    produce a log file. After running
    SimpleInstrumentation.exe I search the whole drive and
    there is no TraceLog.log file.

    I have this in TraceSessions.config:
    <session name="TraceSession" enabled="true"
    fileName="C:\work\TraceLog.log" />

    TraceSessionManager.exe.config does not define that key.

    When I run my SimpleInstrumentation.exe, it does indeed
    produce an Info event in Application event viewer (but no
    error event, so it is reading and parsing
    EnterpriseInstrumentation.config just fine).

    EnterpriseInstrumentation.config in the bin\debug entry
    (where SimpleInstrumentation.exe is) contains this:

    <filters>
      <filter name="defaultSoftwareElementFilter"
    description=" A default filter for the Software Element
    event sources.">
         <eventCategoryRef name="All Events">
            <eventSinkRef name="traceSink" />
            <eventSinkRef name="logSink" />
         </eventCategoryRef>
      </filter>
      <filter name="defaultRequestFilter" description="A
    default filter for the Request event sources." />
    </filters>

    I'm on Windows XP SP1.

    Doesn't seem like the first sample should be this hard. ;)


  • Next message: Linus: "EIF: How to Set the Event ID?"

    Relevant Pages

    • Re: Backup Question
      ... the information you provided is the log file created by the ... then double-click the Event Viewer snap-in. ... How to Filter Log Events ... Text-file format ...
      (microsoft.public.windows.server.sbs)
    • Re: WMI Permanent Event Consumer
      ... > Hence you are working Cross-Domain, So I think you need to set the ... > EventNamespace in the filter.(or you could compile the provifder MOF again ... >>>off to a log file, ... found out that I had to set the Namespace separately for where the event ...
      (microsoft.public.windows.server.scripting)
    • Re: WMI Permanent Event Consumer
      ... Trevor wrote: ... Hence you are working Cross-Domain, So I think you need to set the EventNamespace in the filter.(or you could compile the provifder MOF again in the CimV2 namesspace.) ... off to a log file, ...
      (microsoft.public.windows.server.scripting)
    • RE: using ldifde to export
      ... want to filter user name. ... do u see any sytex wrong and what is error code ... specify the log file path via the -j option. ...
      (microsoft.public.windows.server.active_directory)