aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-28 15:03:42 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-28 15:03:42 +0100
commitceb93e38fe12ed768f8f114e064b145bccacd62a (patch)
treea85b206ae76dd453477eae18de2ad045a76e5506 /core
parentf63e2f139a315a48963b15f4de1e196c6bb7b2d6 (diff)
downloadprosody-ceb93e38fe12ed768f8f114e064b145bccacd62a.tar.gz
prosody-ceb93e38fe12ed768f8f114e064b145bccacd62a.zip
core.loggingmanager: Enable timestamps by default for file log sinks
Diffstat (limited to 'core')
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 1d2f8d7d..d701511e 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -222,7 +222,7 @@ function log_sink_types.file(config)
local timestamps = config.timestamps;
- if timestamps == true then
+ if timestamps == nil or timestamps == true then
timestamps = default_timestamp; -- Default format
end