From 35685424e14d44102b03e4897e7188f560e01d91 Mon Sep 17 00:00:00 2001 From: Werner Fleischer <70745309+wfleischer@users.noreply.github.com> Date: Thu, 6 Apr 2023 14:34:56 +0200 Subject: [PATCH] prosody: add timestamps to the log --- prosody/rootfs/defaults/prosody.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody/rootfs/defaults/prosody.cfg.lua b/prosody/rootfs/defaults/prosody.cfg.lua index 9c4be9c..7e7561c 100644 --- a/prosody/rootfs/defaults/prosody.cfg.lua +++ b/prosody/rootfs/defaults/prosody.cfg.lua @@ -191,7 +191,7 @@ authentication = "internal_hashed" -- Logs info and higher to /var/log -- Logs errors to syslog also log = { - { levels = {min = "{{ $LOG_LEVEL }}"}, to = "console"}; + { levels = {min = "{{ $LOG_LEVEL }}"}, timestamps = "%Y-%m-%d %X", to = "console"}; } {{ if .Env.GLOBAL_CONFIG }}