prosody: add timestamps to the log

pull/1536/head
Werner Fleischer 2 years ago committed by Saúl Ibarra Corretgé
parent edb5e76d7d
commit 35685424e1
  1. 2
      prosody/rootfs/defaults/prosody.cfg.lua

@ -191,7 +191,7 @@ authentication = "internal_hashed"
-- Logs info and higher to /var/log -- Logs info and higher to /var/log
-- Logs errors to syslog also -- Logs errors to syslog also
log = { log = {
{ levels = {min = "{{ $LOG_LEVEL }}"}, to = "console"}; { levels = {min = "{{ $LOG_LEVEL }}"}, timestamps = "%Y-%m-%d %X", to = "console"};
} }
{{ if .Env.GLOBAL_CONFIG }} {{ if .Env.GLOBAL_CONFIG }}

Loading…
Cancel
Save