diff mod_log_ringbuffer/mod_log_ringbuffer.lua @ 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
parents 481c4d75e77d
children f917bb78ab67
line wrap: on
line diff
--- a/mod_log_ringbuffer/mod_log_ringbuffer.lua	Fri Oct 16 14:23:10 2020 +0100
+++ b/mod_log_ringbuffer/mod_log_ringbuffer.lua	Fri Oct 16 14:25:44 2020 +0100
@@ -10,7 +10,7 @@
 
 local os_date = os.date;
 
-local default_filename_template = "ringbuffer-logs-{pid}-{count}.log";
+local default_filename_template = "{paths.data}/ringbuffer-logs-{pid}-{count}.log";
 local render_filename = require "util.interpolation".new("%b{}", function (s) return s; end, {
 	yyyymmdd = function (t)
 		return os_date("%Y%m%d", t);