Changeset

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
parents 8354:b41947a0fc0c
children 8356:bbd18b617296
files core/loggingmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 .. " ";