Index: /trunk/src/VBox/Main/idl/comimpl.xsl
===================================================================
--- /trunk/src/VBox/Main/idl/comimpl.xsl	(revision 85298)
+++ /trunk/src/VBox/Main/idl/comimpl.xsl	(revision 85299)
@@ -569,6 +569,6 @@
   </xsl:call-template>
   <xsl:value-of select="       '    END_COM_MAP()&#10;'" />
-  <xsl:value-of select="concat('    ',$implName,'() { /*Log((&quot;',$implName,'\n&quot;))*/;}&#10;')" />
-  <xsl:value-of select="concat('    virtual ~',$implName,'() { /*Log((&quot;~',$implName,'\n&quot;))*/; uninit(); }&#10;')" />
+  <xsl:value-of select="concat('    ',$implName,'() { Log12((&quot;',$implName,' %p\n&quot;, this)); }&#10;')" />
+  <xsl:value-of select="concat('    virtual ~',$implName,'() { Log12((&quot;~',$implName,' %p\n&quot;, this)); uninit(); }&#10;')" />
   <xsl:text><![CDATA[
     HRESULT FinalConstruct()
@@ -814,8 +814,10 @@
 
 <xsl:text><![CDATA[
+#define LOG_GROUP LOG_GROUP_MAIN_EVENT
 #include <VBox/com/array.h>
+#include <VBox/log.h>
 #include <iprt/asm.h>
-#include "EventImpl.h"
 #include "VBoxEvents.h"
+
 ]]></xsl:text>
 
