]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-windows: Fix event log artifacts 2111/head
authorStefan Chivu <schivu@cloudbasesolutions.com>
Tue, 14 Feb 2023 11:47:03 +0000 (11:47 +0000)
committerStefan Chivu <schivu@cloudbasesolutions.com>
Tue, 14 Feb 2023 12:03:54 +0000 (12:03 +0000)
commitef776a717adce62230d1bc91aeffc14187da1655
treee2b2253f9e3e804ab05c2f3f3f6b915ee5b7b738
parentea891591541c3278233c95d0edbc51eefd7c8851
ceph-windows: Fix event log artifacts

Previously, the windows event log artifacts were being dumped in
evtx format and then converted to txt by individually querying them
using wevtutil.

After doing this, the resulting txt logs contained xml entries that
omitted the actual event message.

Now, they will be directly dumped as txt using Get-WinEvent and the
evtx logs can be obtained using the -IncludeEvtxFiles flag.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
scripts/ceph-windows/collect-event-logs.ps1