Software /
code /
prosody-modules
Comparison
mod_debug_traceback/README.markdown @ 4214:5841d54cb6c6
mod_debug_traceback: Descendent of mod_traceback with some additional features
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Oct 2020 14:23:10 +0100 |
child | 5874:0358fcf14cd6 |
comparison
equal
deleted
inserted
replaced
4213:93a980ac1816 | 4214:5841d54cb6c6 |
---|---|
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.11 or later. |