Software /
code /
prosody-modules
Diff
mod_log_ringbuffer/README.markdown @ 4226:df2ccb42a241
mod_log_ringbuffer: Add 'lines' option (actually an alternative ringbuffer implementation)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 20 Oct 2020 15:54:07 +0100 |
parent | 4220:0b1b7d671448 |
child | 5362:c0493d3173c1 |
line wrap: on
line diff
--- a/mod_log_ringbuffer/README.markdown Tue Oct 20 15:34:29 2020 +0100 +++ b/mod_log_ringbuffer/README.markdown Tue Oct 20 15:54:07 2020 +0100 @@ -50,6 +50,10 @@ : The size, in bytes, of the buffer. When the buffer fills, old data will be overwritten by new data. +`lines` +: If specified, preserves the latest N complete lines in the + buffer. The `size` option is ignored when this option is set. + `filename` : The name of the file to dump logs to when triggered.