Răsfoiți Sursa

prosody: add timestamps to the log

Werner Fleischer 2 ani în urmă
părinte
comite
35685424e1
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      prosody/rootfs/defaults/prosody.cfg.lua

+ 1 - 1
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 }}