prosody: add timestamps to the log
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
edb5e76d7d
commit
35685424e1
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user