Where PacsSwitch writes down what it does, and the IDs of the events it writes to the Windows Event Log for monitoring tools.
Log files
All paths are in the data folder, C:\ProgramData\PacsLogic\DTRS4 unless a different one was chosen at installation (Appendix F).
| File | What it holds | Kept |
|---|---|---|
Logs\app_execution_YYYYMMDD.log | The application log: every action of the program, the monitor and the command line, each with the Windows user or the account of the task. The first place to look. | Settings > Logs (30 days) |
Logs\license_checks.log | Every license activation, check and change. | Grows slowly |
Logs\capture_audit.log | Who started, stopped, saved (rolling captures), opened, copied, exported and deleted captures. | A new file at 10 MB; old ones 365 days |
Logs\service_YYYYMMDD.log | The proxy service program (DTRS_Service.exe, 4.0.122+): nginx started, stopped, ended unexpectedly and restarted. | As the application log |
Logs\dsfx_audit_YYYYMMDD.log | The DSFX Send audit log (4.0.124+): what the checker stored and flagged, keys made, backups, exports and imports. No patient details (Appendix P). | As the application log |
Logs\relay_YYYYMMDD.log | The relay used by captures and AE title rewrites: start, stop and failures. | As the application log |
Logs\netstats_YYYYMMDD.csv, health_, destinations_, traffic_ files | The minute-by-minute history behind Network Bandwidth and Server Health. | Settings > Network (90 days) |
nginx\logs\stream_conn_YYYY-MM-DD.log | The connection log: one line per finished session (time, client, port, result, duration, data, destination). Read by Connection History. | Settings > nginx (14 days, 500 MB in total) |
nginx\logs\error.log | Errors of the proxy service, for example a destination that refused a connection. | Emptied above 50 MB |
schedule_history.csv | The result of every scheduled change. | Schedule window option (90 days) |
A support bundle collects these files for the days you choose (Support bundles).
Windows Event Log
Events go to the Application log with the source DTRS (Settings > Integration). Alerts are always written; important events are written at the recommended level; routine events only with Everything.
| ID | Type | Event |
|---|---|---|
| 100 | Information | The monitor started (routine). |
| 110 | Information | A scenario was activated. |
| 120, 121 | Information | The proxy service was started or stopped from PacsSwitch. |
| 122, 123 | Error | The proxy service could not be started or stopped. |
| 124 | Information | The service's program and data folders were corrected, or the service was switched from NSSM to DTRS_Service.exe. |
| 125 | Information | DTRS_Service.exe started nginx (also after a restart). |
| 126 | Information | DTRS_Service.exe stopped nginx (the service stopped). |
| 127 | Warning | nginx ended unexpectedly; DTRS_Service.exe starts it again in 5 seconds (at most 3 times in 10 minutes). The text has the exit code and the last lines of the nginx error log. |
| 128 | Error | nginx ended again after 3 restarts in 10 minutes: the service stops, routing is down, and the health alert Proxy service is not running follows. |
| 129 | Error | The service could not start nginx (for example a configuration error or a port in use). |
| 130 | Information | The scenario started after a server restart. |
| 131 | Error | The scenario did NOT start after a server restart. |
| 132 | Warning | The monitor is falling behind. |
| 140, 141 | Information | Settings were imported, or the import undone. |
| 142 | Information | The configuration for the test tools is published or removed. |
| 200 / 202 | Error / Information | A health alert, and its all-clear. |
| 300 / 302 | Warning / Information | A bandwidth alert, and its all-clear. |
| 400, 401 | Information | Maintenance mode started or ended (this server's own, or the region's). |
| 402 | Information | The region maintenance was ended early on this server ("End maintenance now" on a member). |
| 403 | Information | Region maintenance was started or ended on the schedule server for every server of the region. |
| 500 | Warning | An email could not be sent. |
| 610 | Information | A support bundle was created (routine). |
| 620-624 | Information, Warning, Error | Software updates: a newer version is available, the catalog could not be read, an update was scheduled, installed or failed. |
| 630-634 | Information, Warning | DSFX Send destinations file: saved, copied to a member, could not be refreshed, refreshed again, hosting on or off. |
| 640 | Information | The DSFX Send audit log was turned on or off. |
| 641 | Warning | The audit checker flagged events (changed, missing, repeated, unknown key, clock); at most once every 15 minutes. |
| 642, 643 | Error, Information | The audit log has a problem (checker failed or not running, no HTTPS, no keys); it works again. |
| 644 | Warning | The audit log has no key backup of its current keys (once a day). |
| 645-647 | Information | DSFX Activity: a patient or exam search or patient details shown (with the reason); an export with full patient details; a key backup, export or import of the log. |
| 648 | Information | A new key pair (or site key) was made for the audit log. |
| 700, 701 | Information | A license was activated, or released from this server. |
| 702, 703 | Warning, Information | The daily license check failed, or confirmed the license (routine). |
| 710, 711 | Warning, Error | The license needs attention, or is not valid. |
| 800-802 | Information, Error | Web page security: the mode changed, a renewed certificate was taken from the Windows store, or could not be used. |
| 810, 811 | Information | Firewall rules were added or removed by PacsSwitch. |
| 815 | Information | A Windows port proxy rule (DTRS v3) was removed. |
| 920-924 | Information, Warning, Error | Scheduled changes on this server: switched, failed, missed, already active, schedule changed. |
| 925-929 | Information, Warning, Error | The same for region scheduled changes; 929 a region change problem. |
| 940-947 | Information, Warning | Region: a new list revision, a list not accepted or not fetched, a server unreachable or back, the new region key received, the daily digest not sent. |
| 950-963 | Information, Warning, Error | PacsLaunch sources file and PacsLaunch changes. |
| 964-967 | Information, Warning | The schedule server role was taken over, handed over or followed. |
| 970-974 | Information, Warning | Captures: started, stopped, relay failure, opened, deleted. |
| 975 | Warning | The size limit of a rolling capture keeps less than the minutes asked (written once per capture). |
| 979 | Information | The last minutes of a rolling capture were saved, or the capture storage location was changed. |
| 976-978 | Information, Warning | Client redirects and AE title rewrites not applied, or applied again. |
| 900 | Information | A test event (Settings > Integration > Write a test event). |
For monitoring, watch the source
DTRS for Warning and Error events, and IDs 131, 200, 300, 711 and 921 in particular. status.json gives the same picture for tools that poll a web address (status.json).Related pages
This page was revised 2026-11-10.