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 | 4c39528a445dd5911e91b183c24a42febf0b840b (patch) | |
tree | f9600eed116ded5917b04fddeb1b9637863a1103 | |
parent | c42b40b07d333623192e9f4747471aa07ec9a0b0 (diff) | |
download | prosody-4c39528a445dd5911e91b183c24a42febf0b840b.tar.gz prosody-4c39528a445dd5911e91b183c24a42febf0b840b.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 .. " "; |