1
0
Fork 0
mirror of https://github.com/bjc/prosody.git synced 2025-04-06 14:47:37 +03:00

loggingmanager: Make timestamps enabled by default in file sink (fixes )

This commit is contained in:
Kim Alvefur 2017-10-26 22:30:52 +02:00
parent c42b40b07d
commit 4c39528a44

View file

@ -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 .. " ";