Comparison

mod_log_ringbuffer/README.markdown @ 5362:c0493d3173c1

mod_log_ringbuffer: Fix example config
author Matthew Wild <mwild1@gmail.com>
date Mon, 24 Apr 2023 17:00:05 +0100
parent 4226:df2ccb42a241
child 5363:893b9c3c0d20
comparison
equal deleted inserted replaced
5361:cec1b0b0adef 5362:c0493d3173c1
32 log = { 32 log = {
33 -- Log errors to a file 33 -- Log errors to a file
34 error = "/var/log/prosody/prosody.err"; 34 error = "/var/log/prosody/prosody.err";
35 35
36 -- Log debug and higher to a 2MB buffer 36 -- Log debug and higher to a 2MB buffer
37 { level = "debug", to = "ringbuffer", size = 1024*1024*2, filename = "debug-logs-{pid}-{count}.log", signal = "SIGUSR2" }; 37 { level = "debug", to = "ringbuffer", size = 1024*1024*2, filename_template = "debug-logs-{pid}-{count}.log", signal = "SIGUSR2" };
38 } 38 }
39 ``` 39 ```
40 40
41 The possible fields of the logging config entry are: 41 The possible fields of the logging config entry are:
42 42