core.loggingmanager: Enable timestamps by default for file log sinks

Tue, 28 Jul 2009 15:03:42 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 28 Jul 2009 15:03:42 +0100
changeset 1613
ebf0813a81f6
parent 1612
0413aaf9edae
child 1614
951ed38ad64f

core.loggingmanager: Enable timestamps by default for file log sinks

core/loggingmanager.lua file | annotate | diff | comparison | revisions
--- a/core/loggingmanager.lua	Tue Jul 28 14:48:37 2009 +0100
+++ b/core/loggingmanager.lua	Tue Jul 28 15:03:42 2009 +0100
@@ -222,7 +222,7 @@
 
 	local timestamps = config.timestamps;
 
-	if timestamps == true then
+	if timestamps == nil or timestamps == true then
 		timestamps = default_timestamp; -- Default format
 	end
 

mercurial