Explorar o código

prosody: add timestamps to the log

Werner Fleischer %!s(int64=2) %!d(string=hai) anos
pai
achega
35685424e1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }}