This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Description
It appears that when Scollector is running as a service on Windows it doesn't log panics anywhere. We probably should find a way to send them to the event log or file system.
Currently the only event that occurs is:
Log: System
Source: Service Control Manager
Event ID: 7031
The scollector service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.
Also restarting the service automatically is not enabled by default (that is configured by DSC in our environment), so that last sentence probably won't appear in other environments unless they configure the service recover actions:

It would be nice to get those recovery actions added in the service_windows.go installation method.