aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-29 02:05:19 +0200
committerKim Alvefur <zash@zash.se>2017-10-29 02:05:19 +0200
commit5618526b318176613e65df2bff62db6fa7bb9520 (patch)
tree0d8a66dad4d8c64d5cfab32c11132b2c0e1ca301 /core/loggingmanager.lua
parent2455838c48d42e5d60239dcc863bd60df8ba16c3 (diff)
parent97b8c701176a111587239b7927a485c81c9ce0b0 (diff)
downloadprosody-5618526b318176613e65df2bff62db6fa7bb9520.tar.gz
prosody-5618526b318176613e65df2bff62db6fa7bb9520.zip
Merge 0.10->trunk
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 6dc1c1d1..004f4c3b 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -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 .. " ";