Skip to content

Commit

Permalink
dev/crashrep: Update info on monitor (fixes #687) (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
imsodin committed Oct 30, 2021
1 parent d8c91b2 commit 7a2b637
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dev/crashrep.rst
Expand Up @@ -6,17 +6,13 @@ Automatic Crash Reporting for Developers
Collecting and Sending
----------------------

Syncthing will normally run with one *monitor process* and one *main
Syncthing runs with one *monitor process* and one *main
process*. The main process is the thing that is really "Syncthing". The
monitor process is responsible for reading the console output from the main
process, restarting it if it exits, and reporting any crashes of the main
process -- when it's allowed to do so.

No monitor process is used when Syncthing is started with the
``--no-restart`` flag or the ``STNORESTART`` environment variable. In these
cases there is also no crash reporting.

When the monitor process is running and detects a crash it creates a file
When the monitor process detects a crash it creates a file
``panic-$timestamp.log`` in the config directory and attempts to upload it
to the crash reporting server -- if crash reporting is enabled. When a log
has been successfully reported it is renamed with the double file ending
Expand Down

0 comments on commit 7a2b637

Please sign in to comment.