Logging and Upgrade
Explore this Page
Overview
This page explains where to find the exporter's logs, and how to remove the exporter completely.
Logs
The exporter keeps a record of its activity so you can confirm it is working correctly, and so you have the information you need if something needs troubleshooting. Two separate logs are kept: a service log for day to day operation, and an install log for setup, upgrade, and removal.
Service Log
While the exporter is running, it records its activity in a dated file, …\Logs\DcsPrometheusExporter-YYYY-MM-DD.txt, kept under the install directory. A new file is created each day, and files older than 7 days are removed automatically.
The service log records events such as when the exporter starts and stops, each attempt to connect to the SANsymphony management server, and any errors encountered during a scrape. Start, stop, and error events also appear in Event Viewer, under Windows Logs, Application, with source DcsPrometheusExporter.
How much detail is written is controlled by the log_level setting described in Settings. The default, info, is enough for normal operation. If you are troubleshooting a specific issue, you can temporarily set log_level to debug for more detail, then set it back to info once the issue is resolved so the log does not grow unnecessarily large.
Install Log
A log of every install, upgrade, or uninstall is written automatically to %TEMP%\MSI*.LOG. This includes the result of the connection check performed by the setup wizard, so it is the first place to look if setup does not complete. The password itself is never written to this log.
Uninstall
This section explains how to remove the exporter completely.
Uninstalling stops and removes the service, removes the program files, and removes the configuration file, including the stored credentials. Existing log files are kept.
Uninstalling removes the stored configuration and credentials permanently. Reinstalling the exporter afterward will require entering the SANsymphony connection details again.
Learn More