我尝试使用Microsoft事件日志ETW创建日志记录机制 我面临的问题是我如何创建我的通道路径位于2个节点下,这是我的man文件类似于此代码
<instrumentationManifest xsi:schemaLocation="http://schemas.microsoft.com/win/2004/08/events eventman.xsd" xmlns="http://schemas.microsoft.com/win/2004/08/events" xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:trace="http://schemas.microsoft.com/win/2004/08/events/trace">
<instrumentation>
<events>
<provider name="Foo-Bar" guid="{some guid}" symbol="name" resourceFileName="some dll" messageFileName="some dll">
<channels>
<channel name="Foo-Bar/Admin" chi="AdminCHID" symbol="CHANNEL_BAR_ADMIN" type="Admin" enabled="true" message="Some message" />
</channels>
</provider>
</events>
</instrumentation>
时
<instrumentationManifest xsi:schemaLocation="http://schemas.microsoft.com/win/2004/08/events eventman.xsd" xmlns="http://schemas.microsoft.com/win/2004/08/events" xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:trace="http://schemas.microsoft.com/win/2004/08/events/trace">
<instrumentation>
<events>
<provider name="Foo-Bar-Test" guid="{some guid}" symbol="name" resourceFileName="some dll" messageFileName="some dll">
<channels>
<channel name="Foo-Bar-Test/Admin" chi="AdminCHID" symbol="CHANNEL_BAR_ADMIN" type="Admin" enabled="true" message="Some message" />
</channels>
</provider>
</events>
</instrumentation>
下创建
我需要的是如何创建我的管理频道以显示在2个节点级别