Changeset

5362:c0493d3173c1

mod_log_ringbuffer: Fix example config
author Matthew Wild <mwild1@gmail.com>
date Mon, 24 Apr 2023 17:00:05 +0100
parents 5361:cec1b0b0adef
children 5363:893b9c3c0d20
files mod_log_ringbuffer/README.markdown
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_log_ringbuffer/README.markdown	Sun Apr 23 14:18:25 2023 +0200
+++ b/mod_log_ringbuffer/README.markdown	Mon Apr 24 17:00:05 2023 +0100
@@ -34,7 +34,7 @@
     error = "/var/log/prosody/prosody.err";
 
     -- Log debug and higher to a 2MB buffer
-    { level = "debug", to = "ringbuffer", size = 1024*1024*2, filename = "debug-logs-{pid}-{count}.log", signal = "SIGUSR2" };
+    { level = "debug", to = "ringbuffer", size = 1024*1024*2, filename_template = "debug-logs-{pid}-{count}.log", signal = "SIGUSR2" };
 }
 ```