From: Joerg Hoppe on
First, I apologize if this is not the right news group... please
redirect me!

Scenario:
===========
I'm converting a KMDF driver project to WPP tracing.
I need to log diagnostic messages at boot time,
so I try to bring up the GlobalLogger, as documented here:
http://msdn.microsoft.com/en-us/library/ff542305%28v=VS.85%29.aspx

I use GlobalLogger and not AutoLogger, because I need one solution for
WinXP and Win7. Current platform is Win7.

Problem:
========
After setting up
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\GlobalLogger
and rebooting, a
"tracelog -q GlobalLogger" always results in a message
"GlobalLogger is not running",
and in the [...\GlobalLogger] a new entry appears:
"Status"=dword:00000057

Long output is:
==============
T:\....\OBJCHK_WXP_x86\i386\tracing>tracelog -q GlobalLogger
GlobalLogger is not running
Operation Status: 0L Der Vorgang wurde erfolgreich beendet.

Logger Name: GlobalLogger
Status: Registry set to start
Guid: e8908abc-aa84-11d2-9a93-00805f85d7c6
Buffer Size: default value
Maximum Buffers: default value
Minimum Buffers: default value
ClockType: Unknown
Log Mode: Sequential
Maximum File Size: not set
Buffer Flush Timer: not set
Enabled tracing: 0x00033307
Log Filename: default location
%SystemRoot%\System32\LogFiles\WMI\trace.log


These are my registry settings:
==============================

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\GlobalLogger]
"Start"=dword:00000001
"Status"=dword:00000057
"EnableKernelFlags"=dword:00033307
"LogFileMode"=dword:00008101
"MaxFileSize"=dword:0000000a
"FileName"="C:\\Windows\\Tracing\\\\PLIN_USB.etl"

I also tried with this minimal set from
http://msdn.microsoft.com/en-us/library/ff545981%28v=VS.85%29.aspx

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\GlobalLogger]
"Start"=dword:00000001
"EnableKernelFlags"=dword:00033307
"FileName"=""


Thanks,
J. Hoppe