Comparison

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
comparison
equal deleted inserted replaced
4225:d6fb9f7afaa5 4226:df2ccb42a241
47 : The minimum log level to capture, e.g. `"debug"`. 47 : The minimum log level to capture, e.g. `"debug"`.
48 48
49 `size` 49 `size`
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
53 `lines`
54 : If specified, preserves the latest N complete lines in the
55 buffer. The `size` option is ignored when this option is set.
52 56
53 `filename` 57 `filename`
54 : The name of the file to dump logs to when triggered. 58 : The name of the file to dump logs to when triggered.
55 59
56 `filename_template` 60 `filename_template`