RE: EIF SimpleInstrumentation walkthrough problem
From: Mike Hayton [MS] (mikehayt__at_online.microsoft.com)
Date: 07/12/04
- Next message: Mike Hayton [MS]: "RE: Using the EIF Publisher for EMAB - Please Help"
- Previous message: BW: "EIF deployment best practice"
- In reply to: Brad: "EIF SimpleInstrumentation walkthrough problem"
- Next in thread: Brad: "RE: EIF SimpleInstrumentation walkthrough problem"
- Reply: Brad: "RE: EIF SimpleInstrumentation walkthrough problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 12 Jul 2004 18:49:30 GMT
Hi there,
A few questions that should help me be able ot figure out the problem.
What's the event(s) that is produced in the Application event viewer by a
single run of SimpleInstrumentation.exe? (Can you paste the text into the
reply).
Can you show the full EI.config file?
Can you type "net start" from the command prompt and confirm that the
"Windows Trace Session Manager" is present in the list of started services?
Most likely in the EI.config file, your eventsource is not associated with
the defaultSoftwareElementFilter - After running SimpleInstrumentation.exe
- I'd expect two events in the windows event log - one saying it picked up
and read the EI.config file, and one with the event raised in
SimpleInstrumentation.exe
Thanks
Mike
--------------------
| 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. ;)
|
|
-- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
- Next message: Mike Hayton [MS]: "RE: Using the EIF Publisher for EMAB - Please Help"
- Previous message: BW: "EIF deployment best practice"
- In reply to: Brad: "EIF SimpleInstrumentation walkthrough problem"
- Next in thread: Brad: "RE: EIF SimpleInstrumentation walkthrough problem"
- Reply: Brad: "RE: EIF SimpleInstrumentation walkthrough problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|