Groups | Blog | Home
all groups > visual studio .net enterprise tools > january 2004 >

visual studio .net enterprise tools : EIF Extensibility question


andrzej
1/27/2004 9:21:04 AM
Hi

I'm new to EIF and I have few questions on the architecture of the EIF framework before I go and make my design decisions. I need to confirm the following

1. Can I create a custom sink that will log to four text files
2. The the EIF somehow log to a remote server. (here I have two options for logging, either windows event viewer or text files)

bvasude NO[at]SPAM online.microsoft.com
1/28/2004 3:58:08 PM
Hi,

To answer the questions:
1) It is possible to create a custom sink that would log the events to
files.
2) Yes. With respect to the logSink (Windows Event Log sink) the
instrumented app's EI.Config can be configured to log the events to a
differnt machine. But for your custom sink, you will need to provide a way
to write to the different machine. One way would be to obtain the remote
machine as a parameter and wirte to a share on the machine.

As a side note:
If you are planning to use the traceSink, currently there is no way to log
to a remote machine. But you could use the TraceLogReader API to to
aggregate the value from different machines to a single machine.

Hope it helps.
Thx
Barath
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

--------------------
[quoted text, click to view]

I'm new to EIF and I have few questions on the architecture of the EIF
framework before I go and make my design decisions. I need to confirm the
following:

1. Can I create a custom sink that will log to four text files.
2. The the EIF somehow log to a remote server. (here I have two options
for logging, either windows event viewer or text files).

Any help would be helpfull.
[quoted text, click to view]
AddThis Social Bookmark Button