Application Log
Cheat sheet · https://pcornel.dk/topic.php?topic=3129
Answer
The Application log commonly contains provider-specific startup, shutdown, dependency and application error information. It is shared by many providers, so filtering by source/provider and time is essential.
Remember
- Application is a shared channel, not one application log.
- Provider/source context is mandatory when interpreting Event IDs.
- Application Error and Windows Error Reporting events can be useful crash evidence but may not identify the original cause.
- Many modern roles/products also write richer Applications and Services Logs.
- A quiet Application log does not prove an application is healthy.
First checks
Get-WinEvent -LogName System -MaxEvents 50— recent System eventsGet-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddHours(-1)}— errors last hourGet-WinEvent -ListLog * | ? RecordCount— logs with entrieswevtutil gl <log>— log size and retention
Verify in this order
application/provider writes → Application log → errors and crashes recorded
Where it usually breaks
First mismatch in definition/configuration → security context → service/task/process creation → runtime state → output/side effect → event/performance evidence; preserve identity/native error/pre-state before mutation.
Event Logging → Application Log reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Provider | Application/component source | required with Event ID |
| Application Error | Crash-style evidence | often consequence, not cause |
| Windows Error Reporting | Fault/report metadata | not full root-cause analysis |
| Time correlation | Aligns with symptom | clock/context still matter |
| Operational log | Richer product-specific source | check when classic log is sparse |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3129