diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-26 22:30:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-26 22:30:52 +0200 |
commit | 7160daef7907b588168d46ebf6d306cc90d8b1b7 (patch) | |
tree | f9600eed116ded5917b04fddeb1b9637863a1103 | |
parent | 67bef1f73cbad7906ffcc6562fa7dfc90b60d8fa (diff) | |
download | prosody-7160daef7907b588168d46ebf6d306cc90d8b1b7.tar.gz prosody-7160daef7907b588168d46ebf6d306cc90d8b1b7.zip |
loggingmanager: Make timestamps enabled by default in file sink (fixes #1004)
-rw-r--r-- | core/loggingmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index 6dc1c1d1..004f4c3b 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -178,7 +178,7 @@ local function log_to_file(sink_config, logfile) local timestamps = sink_config.timestamps; - if timestamps == true then + if timestamps == true or timestamps == nil then timestamps = default_timestamp; -- Default format elseif timestamps then timestamps = timestamps .. " "; |