aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-19 17:23:17 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-19 17:23:17 +0100
commit7d12a19107c45a4bec5427b0259beebbad7d3bd3 (patch)
tree359dd81854154e09073ac99639f1aee7eec4c492 /core
parentfcb0996a5f75121b7470e013ed08e3fb191a908d (diff)
downloadprosody-7d12a19107c45a4bec5427b0259beebbad7d3bd3.tar.gz
prosody-7d12a19107c45a4bec5427b0259beebbad7d3bd3.zip
loggingmanager: Log timestamps when using default file logging
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 a8f6e1dc..2be21a17 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -20,7 +20,7 @@ module "loggingmanager"
-- The log config used if none specified in the config file
local default_logging = { { to = "console" } };
-local default_file_logging = { { to = "file", levels = { min = (debug_mode and "debug") or "info" } } };
+local default_file_logging = { { to = "file", levels = { min = (debug_mode and "debug") or "info" }, timestamps = true } };
local default_timestamp = "%b %d %T";
-- The actual config loggingmanager is using
local logging_config = config.get("*", "core", "log") or default_logging;