[SERVER-24624] Integrate Windows Event Logs into EVG System Logs Created: 16/Jun/16  Updated: 06/Dec/22  Resolved: 05/Oct/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.8
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Won't Fix Votes: 0
Labels: PM424, tig-evgconfig
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-24625 Monitor Silent Process Exit on Window... Closed
Assigned Teams:
Server Tooling & Methods
Participants:

 Description   

We should consider printing out certain event logs from the Windows Event Logs. Some good candidates are Application logs and System logs. They will tell us of events like disk defrag, windows update, hardware modifications, service start/stop.

We can also modify the registry to have the Application logs print why processes exit. (see linked ticket)

The implementation could be similar to how we use dmesg (SERVER-24211)

  • Clear the logs at the beginning of a run: wevtutil clear-log Application
  • Print out the logs at the end: wevtutil query-events Application with an optional grep mongo, if we only care about abnormally terminated processes, for example.

Generated at Thu Feb 08 04:06:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.