Software /
code /
prosody-modules
Comparison
mod_log_ringbuffer/README.markdown @ 4215:86f8ece24029
mod_log_ringbuffer: Update default filename to include data path
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Oct 2020 14:25:44 +0100 |
parent | 4205:481c4d75e77d |
child | 4219:b3dd77f2d0d7 |
comparison
equal
deleted
inserted
replaced
4214:5841d54cb6c6 | 4215:86f8ece24029 |
---|---|
50 : The size, in bytes, of the buffer. When the buffer fills, | 50 : The size, in bytes, of the buffer. When the buffer fills, |
51 old data will be overwritten by new data. | 51 old data will be overwritten by new data. |
52 | 52 |
53 `filename` | 53 `filename` |
54 : The name of the file to dump logs to when triggered. The filename may | 54 : The name of the file to dump logs to when triggered. The filename may |
55 contain a number of variables, described below. | 55 contain a number of variables, described below. Defaults to |
56 `"{paths.data}/ringbuffer-logs-{pid}-{count}.log"`. | |
56 | 57 |
57 Only one of the following triggers may be specified: | 58 Only one of the following triggers may be specified: |
58 | 59 |
59 `signal` | 60 `signal` |
60 : A signal that will cause the buffer to be dumped, e.g. `"SIGUSR2"`. | 61 : A signal that will cause the buffer to be dumped, e.g. `"SIGUSR2"`. |