# HG changeset patch # User Kim Alvefur # Date 1509049852 -7200 # Node ID 45383e071ded26e6718b3959b9466639c21a8942 # Parent b41947a0fc0c8d244f0b0e888eadcebee7424b96 loggingmanager: Make timestamps enabled by default in file sink (fixes #1004) diff -r b41947a0fc0c -r 45383e071ded core/loggingmanager.lua --- 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 .. " ";