mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ci: print Windows daemon event log timestamps
Signed-off-by: Cory Snider <csnider@mirantis.com>
This commit is contained in:
parent
464882e398
commit
23b8fcc74d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -472,9 +472,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
Get-WinEvent -ea SilentlyContinue `
|
Get-WinEvent -ea SilentlyContinue `
|
||||||
-FilterHashtable @{ProviderName= "docker"; LogName = "application"} |
|
-FilterHashtable @{ProviderName= "docker"; LogName = "application"} |
|
||||||
Select-Object -Property TimeCreated, @{N='Detailed Message'; E={$_.Message}} |
|
|
||||||
Sort-Object @{Expression="TimeCreated";Descending=$false} |
|
Sort-Object @{Expression="TimeCreated";Descending=$false} |
|
||||||
Select-Object -ExpandProperty 'Detailed Message' | Tee-Object -file ".\bundles\daemon.log"
|
ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"} |
|
||||||
|
Tee-Object -file ".\bundles\daemon.log"
|
||||||
-
|
-
|
||||||
name: Upload reports
|
name: Upload reports
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Add table
Reference in a new issue