view mod_log_mark/mod_log_mark.lua @ 2016:279885fd9728

mod_mam: Add support for trimming old archived messages
author Kim Alvefur <zash@zash.se>
date Tue, 19 Jan 2016 13:34:16 +0100
parents 02390829df1a
children d15df55f0a63
line wrap: on
line source

local log = _G.log;

module:add_timer(60-os.date("%S"), function ()
	log("info", "-- MARK --");
	return 60;
end);