HI,
I am starting the session through StartTrace and EnableTrace which are both
successfully getting executed.
After that I am logging the messages through wpp to an etl file.
Then I am stopping the session through CloseSession.
Now etl file is genrated , but it doesn’t contain any logs.
Is it because I have not registered the provider through EventRegister or
the concept is not possible (i.e auto generation of etl file is not
possible). I am trying to implement ETW concept to WPP.
EventRegister is not available in Win2k/Xp that’s why I am not using it…
(anyhow I was able to successfully log ETW events using ETW to etl file
without using EventRegister in 2k and XP)
Thanks
Anshul Makkar
---------- Forwarded message ----------
From: anshul makkar
Date: Thu, Jul 30, 2009 at 8:38 PM
Subject: Generate etl file programmatically
To: xxxxx@lists.osr.com
Hi,
In ETW architecture we can start a session programmatically using StartTrace
etc and then write event using eventwrite that will auto generate an etl
file … SO there is no need to manually start a tracing session from command
prompt like xperf or tracerpt etc.
Can the similar feat be achieved through wpp. Actually I want that error log
etl files should be automatically generated on end user’s system when my
application runs without anyone’s intervention.
Please if anyone has any idea on this, then please let me know.
Thanks
Anshul Makkar