Software /
code /
prosody
Diff
core/loggingmanager.lua @ 8355:45383e071ded
loggingmanager: Make timestamps enabled by default in file sink (fixes #1004)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 26 Oct 2017 22:30:52 +0200 |
parent | 8229:bf6f80f2d971 |
child | 8555:4f0f5b49bb03 |
line wrap: on
line diff
--- a/core/loggingmanager.lua Thu Oct 26 22:22:14 2017 +0200 +++ b/core/loggingmanager.lua Thu Oct 26 22:30:52 2017 +0200 @@ -178,7 +178,7 @@ 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 .. " ";