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).

FileWhat it holdsKept
Logs\app_execution_YYYYMMDD.logThe 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.logEvery license activation, check and change.Grows slowly
Logs\capture_audit.logWho started, stopped, saved (rolling captures), opened, copied, exported and deleted captures.A new file at 10 MB; old ones 365 days
Logs\service_YYYYMMDD.logThe proxy service program (DTRS_Service.exe, 4.0.122+): nginx started, stopped, ended unexpectedly and restarted.As the application log
Logs\dsfx_audit_YYYYMMDD.logThe 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.logThe relay used by captures and AE title rewrites: start, stop and failures.As the application log
Logs\netstats_YYYYMMDD.csv, health_, destinations_, traffic_ filesThe minute-by-minute history behind Network Bandwidth and Server Health.Settings > Network (90 days)
nginx\logs\stream_conn_YYYY-MM-DD.logThe 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.logErrors of the proxy service, for example a destination that refused a connection.Emptied above 50 MB
schedule_history.csvThe 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.

IDTypeEvent
100InformationThe monitor started (routine).
110InformationA scenario was activated.
120, 121InformationThe proxy service was started or stopped from PacsSwitch.
122, 123ErrorThe proxy service could not be started or stopped.
124InformationThe service's program and data folders were corrected, or the service was switched from NSSM to DTRS_Service.exe.
125InformationDTRS_Service.exe started nginx (also after a restart).
126InformationDTRS_Service.exe stopped nginx (the service stopped).
127Warningnginx 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.
128Errornginx ended again after 3 restarts in 10 minutes: the service stops, routing is down, and the health alert Proxy service is not running follows.
129ErrorThe service could not start nginx (for example a configuration error or a port in use).
130InformationThe scenario started after a server restart.
131ErrorThe scenario did NOT start after a server restart.
132WarningThe monitor is falling behind.
140, 141InformationSettings were imported, or the import undone.
142InformationThe configuration for the test tools is published or removed.
200 / 202Error / InformationA health alert, and its all-clear.
300 / 302Warning / InformationA bandwidth alert, and its all-clear.
400, 401InformationMaintenance mode started or ended (this server's own, or the region's).
402InformationThe region maintenance was ended early on this server ("End maintenance now" on a member).
403InformationRegion maintenance was started or ended on the schedule server for every server of the region.
500WarningAn email could not be sent.
610InformationA support bundle was created (routine).
620-624Information, Warning, ErrorSoftware updates: a newer version is available, the catalog could not be read, an update was scheduled, installed or failed.
630-634Information, WarningDSFX Send destinations file: saved, copied to a member, could not be refreshed, refreshed again, hosting on or off.
640InformationThe DSFX Send audit log was turned on or off.
641WarningThe audit checker flagged events (changed, missing, repeated, unknown key, clock); at most once every 15 minutes.
642, 643Error, InformationThe audit log has a problem (checker failed or not running, no HTTPS, no keys); it works again.
644WarningThe audit log has no key backup of its current keys (once a day).
645-647InformationDSFX 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.
648InformationA new key pair (or site key) was made for the audit log.
700, 701InformationA license was activated, or released from this server.
702, 703Warning, InformationThe daily license check failed, or confirmed the license (routine).
710, 711Warning, ErrorThe license needs attention, or is not valid.
800-802Information, ErrorWeb page security: the mode changed, a renewed certificate was taken from the Windows store, or could not be used.
810, 811InformationFirewall rules were added or removed by PacsSwitch.
815InformationA Windows port proxy rule (DTRS v3) was removed.
920-924Information, Warning, ErrorScheduled changes on this server: switched, failed, missed, already active, schedule changed.
925-929Information, Warning, ErrorThe same for region scheduled changes; 929 a region change problem.
940-947Information, WarningRegion: 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-963Information, Warning, ErrorPacsLaunch sources file and PacsLaunch changes.
964-967Information, WarningThe schedule server role was taken over, handed over or followed.
970-974Information, WarningCaptures: started, stopped, relay failure, opened, deleted.
975WarningThe size limit of a rolling capture keeps less than the minutes asked (written once per capture).
979InformationThe last minutes of a rolling capture were saved, or the capture storage location was changed.
976-978Information, WarningClient redirects and AE title rewrites not applied, or applied again.
900InformationA 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.


← Appendix A. Version historyAppendix C. Command line →