Hi Jim,
Yes, it is possible to to include the required information in every event
logged. This is controlled by the property group filters, which can be
turned on or off for each event source defined in the application.
The currentAccountName and ProcessAccount name belong to the
PopulateWindowsSecurityInfo property group filter. By default, this group
(PopulateWindowsSecurityInfo) is turned on for all events except TraceEvent
and TraceRequestEvent and any of its derived classes.
e.g
<eventSource name="TestSource" type="softwareElement"
internalExceptionHandler="ignore" description="My Test Event Source." >
<eventSourceParameter name="PopulateWindowsSecurityInfo"
value="True" />
</eventSource>
Hope it helps. Let us know if you have further questions.
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] >From: "Jim" <jim@nospam.com>
>Subject: CurrentAccountName
>Date: Thu, 18 Dec 2003 08:40:28 -0600
>Lines: 10
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <uH#biTXxDHA.2528@TK2MSFTNGP10.phx.gbl>
>Newsgroups: microsoft.public.vsnet.enterprise.tools
>NNTP-Posting-Host: mail1.pbscorp.com 209.192.95.117
>Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
phx.gbl!TK2MSFTNGP10.phx.gbl
[quoted text, click to view] >Xref: cpmsftngxa07.phx.gbl microsoft.public.vsnet.enterprise.tools:1546
>X-Tomcat-NG: microsoft.public.vsnet.enterprise.tools
>
>Is it possible to configure EIF to include the CurrentAccountName and/or
>ProcessAccountName in every logged event? Right now at least for the way
we
>have it setup it appears to only log the CurrentAccountName for Error event
>types.
>
>Thank you in advance.
>
>Jim
>
>
>