EventLog-Instrumentation.man 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. <?xml version='1.0' encoding='utf-8' standalone='yes'?>
  2. <instrumentationManifest xmlns="http://schemas.microsoft.com/win/2004/08/events" xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events">
  3. <instrumentation>
  4. <events>
  5. <!-- The 'message' attribute is the hierarchy path in Event Viewer -->
  6. <provider
  7. guid="{43833e12-078d-4d7d-8aaf-ae8c8520f18c}"
  8. message="$(string.AppxDeploymentUndockedDeh)"
  9. messageFileName="WindowsAppSdk.AppxDeploymentExtensions.Desktop.dll"
  10. name="Microsoft-Windows-AppXDeployment-Server-UndockedDeh"
  11. resourceFileName="WindowsAppSdk.AppxDeploymentExtensions.Desktop.dll"
  12. symbol="APPXDEPLOYMENTSERVER_UNDOCKEDDEH_ETW_CONTROL_GUID"
  13. >
  14. <channels>
  15. <!-- The 'message' attribute is the leaf node in the path in Event Viewer -->
  16. <channel
  17. chid="Operational"
  18. enabled="true"
  19. message="$(string.AppxDeploymentUndockedDeh.Operational)"
  20. name="Microsoft-Windows-AppXDeployment-Server/Operational"
  21. type="Operational"
  22. >
  23. <logging>
  24. <!-- max size of the operational log file is 5 MB -->
  25. <maxSize>5242880</maxSize>
  26. </logging>
  27. </channel>
  28. </channels>
  29. <maps>
  30. <!-- this must be kept in sync with %SDXROOT%\onecore\admin\appmodel\OSIM\Inc\OSIMRegistration.hpp -->
  31. <valueMap name="DehPhaseEnumMap">
  32. <map
  33. message="$(string.Map.DehPhaseEnumMap.PerUser)"
  34. value="0"
  35. />
  36. <map
  37. message="$(string.Map.DehPhaseEnumMap.PerMachine)"
  38. value="1"
  39. />
  40. <map
  41. message="$(string.Map.DehPhaseEnumMap.Singleton)"
  42. value="2"
  43. />
  44. <map
  45. message="$(string.Map.DehPhaseEnumMap.System)"
  46. value="3"
  47. />
  48. <map
  49. message="$(string.Map.DehPhaseEnumMap.OneTime)"
  50. value="4"
  51. />
  52. </valueMap>
  53. </maps>
  54. <tasks>
  55. <task
  56. name="AppXDeployment.Task.Server.OSIM"
  57. symbol="Task_Server_OSIM"
  58. value="1"
  59. />
  60. </tasks>
  61. <templates>
  62. <template tid="EventLogInstallingManifestEventStringTemplate">
  63. <data
  64. inType="win:UnicodeString"
  65. name="PackageFullName"
  66. />
  67. <data
  68. inType="win:UnicodeString"
  69. name="UndockedDehDllParent"
  70. />
  71. </template>
  72. <template tid="EventLogUninstallingManifestEventStringTemplate">
  73. <data
  74. inType="win:UnicodeString"
  75. name="PackageFullName"
  76. />
  77. <data
  78. inType="win:UnicodeString"
  79. name="UndockedDehDllParent"
  80. />
  81. </template>
  82. <template tid="EventLogInstalledManifestEventStringTemplate">
  83. <data
  84. inType="win:UnicodeString"
  85. name="PackageFullName"
  86. />
  87. <data
  88. inType="win:UnicodeString"
  89. name="UndockedDehDllParent"
  90. />
  91. </template>
  92. <template tid="EventLogUninstalledManifestEventStringTemplate">
  93. <data
  94. inType="win:UnicodeString"
  95. name="PackageFullName"
  96. />
  97. <data
  98. inType="win:UnicodeString"
  99. name="UndockedDehDllParent"
  100. />
  101. </template>
  102. <template tid="EventLogSettingActiveManifestEventStringTemplate">
  103. <data
  104. inType="win:UnicodeString"
  105. name="PackageFullName"
  106. />
  107. <data
  108. inType="win:UnicodeString"
  109. name="UndockedDehDllParent"
  110. />
  111. </template>
  112. <template tid="EventLogUnsettingActiveManifestEventStringTemplate">
  113. <data
  114. inType="win:UnicodeString"
  115. name="PackageFullName"
  116. />
  117. <data
  118. inType="win:UnicodeString"
  119. name="UndockedDehDllParent"
  120. />
  121. </template>
  122. <template tid="LoadExtensionRegistrationTableEventStringTemplate">
  123. <data
  124. inType="win:UnicodeString"
  125. name="DllName"
  126. />
  127. <data
  128. inType="win:UnicodeString"
  129. name="DllPath"
  130. />
  131. <data
  132. inType="win:HexInt32"
  133. map="DehPhaseEnumMap"
  134. name="DehPhase"
  135. />
  136. </template>
  137. <template tid="ItemizingDehBaseClassEvaluateRequestEventStringTemplate">
  138. <data
  139. inType="win:UnicodeString"
  140. name="DehName"
  141. />
  142. <data
  143. inType="win:HexInt32"
  144. map="DehPhaseEnumMap"
  145. name="DehPhase"
  146. />
  147. </template>
  148. <template tid="AddEntryEventStringTemplate">
  149. <data
  150. inType="win:AnsiString"
  151. name="ExceptionWhatString"
  152. outType="win:Utf8"
  153. />
  154. </template>
  155. <template tid="DehRequestFailureEventStringTemplate">
  156. <data
  157. inType="win:UnicodeString"
  158. name="DehAction"
  159. />
  160. <data
  161. inType="win:UnicodeString"
  162. name="DehName"
  163. />
  164. <data
  165. inType="win:HexInt32"
  166. map="DehPhaseEnumMap"
  167. name="DehPhase"
  168. />
  169. <data
  170. inType="win:UInt32"
  171. name="DehState"
  172. />
  173. <data
  174. inType="win:AnsiString"
  175. name="ExceptionWhatString"
  176. outType="win:Utf8"
  177. />
  178. </template>
  179. <template tid="EntryOperationFailureEventStringTemplate">
  180. <data
  181. inType="win:UnicodeString"
  182. name="Operation"
  183. />
  184. <data
  185. inType="win:UnicodeString"
  186. name="EntryName"
  187. />
  188. <data
  189. inType="win:UnicodeString"
  190. name="SerializedEntry"
  191. />
  192. <data
  193. inType="win:UInt32"
  194. name="StepCounter"
  195. />
  196. <data
  197. inType="win:AnsiString"
  198. name="ExceptionWhatString"
  199. outType="win:Utf8"
  200. />
  201. </template>
  202. <template tid="PackagePairEncounteredEventStringTemplate">
  203. <data
  204. inType="win:UnicodeString"
  205. name="DehName"
  206. />
  207. <data
  208. inType="win:HexInt32"
  209. map="DehPhaseEnumMap"
  210. name="DehPhase"
  211. />
  212. <data
  213. inType="win:UInt32"
  214. name="DehState"
  215. />
  216. <data
  217. inType="win:UnicodeString"
  218. name="IncomingPackage"
  219. />
  220. <data
  221. inType="win:UnicodeString"
  222. name="OutgoingPackage"
  223. />
  224. </template>
  225. <template tid="EvaluatePackageForDehProcessingEventStringTemplate">
  226. <data
  227. inType="win:UnicodeString"
  228. name="Direction"
  229. />
  230. <data
  231. inType="win:UnicodeString"
  232. name="DehName"
  233. />
  234. <data
  235. inType="win:UnicodeString"
  236. name="PackageFullName"
  237. />
  238. <data
  239. inType="win:Boolean"
  240. name="PostOsUpgrade"
  241. />
  242. <data
  243. inType="win:HexInt32"
  244. map="DehPhaseEnumMap"
  245. name="DehPhase"
  246. />
  247. <data
  248. inType="win:UInt32"
  249. name="DehState"
  250. />
  251. </template>
  252. <template tid="FailureWithItemsProgressEventStringTemplate">
  253. <data
  254. inType="win:UInt32"
  255. name="ItemCounter"
  256. />
  257. <data
  258. inType="win:UnicodeString"
  259. name="ItemName"
  260. />
  261. <data
  262. inType="win:UInt32"
  263. name="StepCounter"
  264. />
  265. </template>
  266. <template tid="FailureWithItemProgressEventStringTemplate">
  267. <data
  268. inType="win:UnicodeString"
  269. name="ItemName"
  270. />
  271. <data
  272. inType="win:UInt32"
  273. name="StepCounter"
  274. />
  275. </template>
  276. <template tid="EventLogStackFrameErrorStringTemplate">
  277. <data
  278. inType="win:AnsiString"
  279. name="File"
  280. outType="win:Utf8"
  281. />
  282. <data
  283. inType="win:UInt32"
  284. name="Line"
  285. />
  286. <data
  287. inType="win:AnsiString"
  288. name="ExceptionWhatString"
  289. outType="win:Utf8"
  290. />
  291. </template>
  292. </templates>
  293. <events>
  294. <event
  295. channel="Operational"
  296. level="win:Informational"
  297. message="$(string.Event.EventLogInstallingManifestEvent)"
  298. symbol="EventLogInstallingManifestEvent"
  299. task="AppXDeployment.Task.Server.OSIM"
  300. template="EventLogInstallingManifestEventStringTemplate"
  301. value="9000"
  302. />
  303. <event
  304. channel="Operational"
  305. level="win:Informational"
  306. message="$(string.Event.EventLogUninstallingManifestEvent)"
  307. symbol="EventLogUninstallingManifestEvent"
  308. task="AppXDeployment.Task.Server.OSIM"
  309. template="EventLogUninstallingManifestEventStringTemplate"
  310. value="9001"
  311. />
  312. <event
  313. channel="Operational"
  314. level="win:Informational"
  315. message="$(string.Event.EventLogInstalledManifestEvent)"
  316. symbol="EventLogInstalledManifestEvent"
  317. task="AppXDeployment.Task.Server.OSIM"
  318. template="EventLogInstalledManifestEventStringTemplate"
  319. value="9002"
  320. />
  321. <event
  322. channel="Operational"
  323. level="win:Informational"
  324. message="$(string.Event.EventLogUninstalledManifestEvent)"
  325. symbol="EventLogUninstalledManifestEvent"
  326. task="AppXDeployment.Task.Server.OSIM"
  327. template="EventLogUninstalledManifestEventStringTemplate"
  328. value="9003"
  329. />
  330. <event
  331. channel="Operational"
  332. level="win:Informational"
  333. message="$(string.Event.EventLogSettingActiveManifestEvent)"
  334. symbol="EventLogSettingActiveManifestEvent"
  335. task="AppXDeployment.Task.Server.OSIM"
  336. template="EventLogSettingActiveManifestEventStringTemplate"
  337. value="9004"
  338. />
  339. <event
  340. channel="Operational"
  341. level="win:Informational"
  342. message="$(string.Event.EventLogUnsettingActiveManifestEvent)"
  343. symbol="EventLogUnsettingActiveManifestEvent"
  344. task="AppXDeployment.Task.Server.OSIM"
  345. template="EventLogUnsettingActiveManifestEventStringTemplate"
  346. value="9005"
  347. />
  348. <event
  349. channel="Operational"
  350. level="win:Verbose"
  351. message="$(string.Event.LoadExtensionRegistrationTable)"
  352. symbol="LoadExtensionRegistrationTableEvent"
  353. task="AppXDeployment.Task.Server.OSIM"
  354. template="LoadExtensionRegistrationTableEventStringTemplate"
  355. value="10001"
  356. />
  357. <event
  358. channel="Operational"
  359. level="win:Verbose"
  360. message="$(string.Event.ItemizingDehBaseClassEvaluateRequest)"
  361. symbol="ItemizingDehBaseClassEvaluateRequestEvent"
  362. task="AppXDeployment.Task.Server.OSIM"
  363. template="ItemizingDehBaseClassEvaluateRequestEventStringTemplate"
  364. value="10002"
  365. />
  366. <event
  367. channel="Operational"
  368. level="win:Error"
  369. message="$(string.Event.AddEntryEvent)"
  370. symbol="AddEntryEvent"
  371. task="AppXDeployment.Task.Server.OSIM"
  372. template="AddEntryEventStringTemplate"
  373. value="10003"
  374. />
  375. <event
  376. channel="Operational"
  377. level="win:Error"
  378. message="$(string.Event.DehRequestFailureEvent)"
  379. symbol="DehRequestFailureEvent"
  380. task="AppXDeployment.Task.Server.OSIM"
  381. template="DehRequestFailureEventStringTemplate"
  382. value="10004"
  383. />
  384. <event
  385. channel="Operational"
  386. level="win:Error"
  387. message="$(string.Event.EntryOperationFailureEvent)"
  388. symbol="EntryOperationFailureEvent"
  389. task="AppXDeployment.Task.Server.OSIM"
  390. template="EntryOperationFailureEventStringTemplate"
  391. value="10005"
  392. />
  393. <event
  394. channel="Operational"
  395. level="win:Verbose"
  396. message="$(string.Event.PackagePairEncounteredEvent)"
  397. symbol="PackagePairEncounteredEvent"
  398. task="AppXDeployment.Task.Server.OSIM"
  399. template="PackagePairEncounteredEventStringTemplate"
  400. value="10006"
  401. />
  402. <event
  403. channel="Operational"
  404. level="win:Verbose"
  405. message="$(string.Event.EvaluatePackageForDehProcessingEvent)"
  406. symbol="EvaluatePackageForDehProcessingEvent"
  407. task="AppXDeployment.Task.Server.OSIM"
  408. template="EvaluatePackageForDehProcessingEventStringTemplate"
  409. value="10007"
  410. />
  411. <event
  412. channel="Operational"
  413. level="win:Error"
  414. message="$(string.Event.FailureWithItemsProgressEvent)"
  415. symbol="FailureWithItemsProgressEvent"
  416. task="AppXDeployment.Task.Server.OSIM"
  417. template="FailureWithItemsProgressEventStringTemplate"
  418. value="10008"
  419. />
  420. <event
  421. channel="Operational"
  422. level="win:Error"
  423. message="$(string.Event.FailureWithItemProgressEvent)"
  424. symbol="FailureWithItemProgressEvent"
  425. task="AppXDeployment.Task.Server.OSIM"
  426. template="FailureWithItemProgressEventStringTemplate"
  427. value="10009"
  428. />
  429. <event
  430. channel="Operational"
  431. level="win:Error"
  432. message="$(string.Event.EventLogStackFrameError)"
  433. symbol="EventLogStackFrameError"
  434. task="AppXDeployment.Task.Server.OSIM"
  435. template="EventLogStackFrameErrorStringTemplate"
  436. value="10010"
  437. />
  438. </events>
  439. </provider>
  440. </events>
  441. </instrumentation>
  442. <localization>
  443. <resources culture="en-US">
  444. <stringTable>
  445. <!-- ============================ -->
  446. <!-- Setup strings -->
  447. <!-- ============================ -->
  448. <!-- This is the hierarchy path in Event Viewer (Applications and Services Logs/Microsoft/Windows/AppXDeployment-Server-UndockedDeh) -->
  449. <string
  450. id="AppxDeploymentUndockedDeh"
  451. value="Microsoft-Windows-AppXDeployment-Server-UndockedDeh"
  452. />
  453. <!-- This is the leaf node in the path in Event Viewer -->
  454. <string
  455. id="AppxDeploymentUndockedDeh.Operational"
  456. value="AppxDeploymentUndockedDeh/Operational"
  457. />
  458. <!-- ============================ -->
  459. <!-- Map strings -->
  460. <!-- ============================ -->
  461. <string
  462. id="Map.DehPhaseEnumMap.PerUser"
  463. value="PerUser"
  464. />
  465. <string
  466. id="Map.DehPhaseEnumMap.PerMachine"
  467. value="PerMachine"
  468. />
  469. <string
  470. id="Map.DehPhaseEnumMap.Singleton"
  471. value="Singleton"
  472. />
  473. <string
  474. id="Map.DehPhaseEnumMap.System"
  475. value="System"
  476. />
  477. <string
  478. id="Map.DehPhaseEnumMap.OneTime"
  479. value="OneTime"
  480. />
  481. <!-- ============================ -->
  482. <!-- Error strings -->
  483. <!-- ============================ -->
  484. <string
  485. id="Event.EventLogInstallingManifestEvent"
  486. value="Installing EventLog manifest for package: '%1' (See 'Details' for extended information)"
  487. />
  488. <string
  489. id="Event.EventLogUninstallingManifestEvent"
  490. value="Uninstalling EventLog manifest for package: '%1' (See 'Details' for extended information)"
  491. />
  492. <string
  493. id="Event.EventLogInstalledManifestEvent"
  494. value="Installed EventLog manifest for package: '%1' (See 'Details' for extended information)"
  495. />
  496. <string
  497. id="Event.EventLogUninstalledManifestEvent"
  498. value="Uninstalled EventLog manifest for package: '%1' (See 'Details' for extended information)"
  499. />
  500. <string
  501. id="Event.EventLogSettingActiveManifestEvent"
  502. value="Setting active EventLog manifest for package: '%1' (See 'Details' for extended information)"
  503. />
  504. <string
  505. id="Event.EventLogUnsettingActiveManifestEvent"
  506. value="Unsetting active EventLog manifest for package: '%1' (See 'Details' for extended information)"
  507. />
  508. <string
  509. id="Event.LoadExtensionRegistrationTable"
  510. value="Loading registration table for Undocked DEH dll: %1, Path: %2, Phase: %3"
  511. />
  512. <string
  513. id="Event.ItemizingDehBaseClassEvaluateRequest"
  514. value="Evaluating request for DEH: DEH '%1' in Phase '%2'"
  515. />
  516. <string
  517. id="Event.AddEntryEvent"
  518. value="StringAddEntryEvent: %1"
  519. />
  520. <string
  521. id="Event.DehRequestFailureEvent"
  522. value="Failed performing DEH request: Action '%1' in DEH '%2' in Phase '%3' in State '%4' (See 'Details' for extended information)"
  523. />
  524. <string
  525. id="Event.EntryOperationFailureEvent"
  526. value="Failed performing operation on entry: Operation '%1' on Entry '%2' (See 'Details' for extended information)"
  527. />
  528. <string
  529. id="Event.PackagePairEncounteredEvent"
  530. value="Encountered package pair in DEH package evaluation: DEH '%1' in Phase '%2' State '%3' on Incoming Package '%4' and Outgoing Package '%5' (See 'Details' for extended information)"
  531. />
  532. <string
  533. id="Event.EvaluatePackageForDehProcessingEvent"
  534. value="Encountered package in DEH package evaluation: Direction '%1', DEH '%2', Package '%3', PostOsUpgrade '%4', Phase '%5', State '%6' (See 'Details' for extended information)"
  535. />
  536. <string
  537. id="Event.FailureWithItemsProgressEvent"
  538. value="Failure working on items: Item count '%1', Current item name '%2', Step counter '%3'"
  539. />
  540. <string
  541. id="Event.FailureWithItemProgressEvent"
  542. value="Failure working on item: Item '%1', Step counter '%2'"
  543. />
  544. <string
  545. id="Event.EventLogStackFrameError"
  546. value="Failure at frame: File '%1', Line '%2' (See 'Details' for extended information)"
  547. />
  548. </stringTable>
  549. </resources>
  550. </localization>
  551. </instrumentationManifest>