Mercurial > prosody-modules
comparison mod_debug_traceback/README.md @ 5975:fe081789f7b5
All community modules: Unify file extention of Markdown files to .md
| author | Menel <menel@snikket.de> |
|---|---|
| date | Tue, 22 Oct 2024 10:26:01 +0200 |
| parents | mod_debug_traceback/README.markdown@0358fcf14cd6 |
| children |
comparison
equal
deleted
inserted
replaced
| 5974:5a65a632d5b9 | 5975:fe081789f7b5 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 - 'Stage-Alpha' | |
| 4 summary: Generate tracebacks on-demand | |
| 5 --- | |
| 6 | |
| 7 # Introduction | |
| 8 | |
| 9 This module writes out a traceback to a file when a chosen signal (by default | |
| 10 `SIGUSR1`) is received. It can be useful to diagnose cases where Prosody is | |
| 11 unresponsive. | |
| 12 | |
| 13 # Configuration | |
| 14 | |
| 15 `debug_traceback_filename` | |
| 16 : The name of the file to write the traceback to. Some variables | |
| 17 are supported, see [mod_log_ringbuffer] docs for more info. Defaults | |
| 18 to `{paths.data}/traceback-{pid}-{count}.log`. | |
| 19 | |
| 20 `debug_traceback_signal` | |
| 21 : The name of the signal to listen for. Defaults to `SIGUSR1`. | |
| 22 | |
| 23 # Compatibility | |
| 24 | |
| 25 Prosody 0.12 or later. |
