aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-03-22 21:58:38 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-03-22 21:58:38 +0500
commit3327f3974125464535c3a1eebc6abcbd2fb3e453 (patch)
treeeb8a52e73ca75b7f995e51e4ed451dcb9230eedc
parent4528953bcd7937bdd9d46c9cd07b6c0cbae94244 (diff)
downloadprosody-3327f3974125464535c3a1eebc6abcbd2fb3e453.tar.gz
prosody-3327f3974125464535c3a1eebc6abcbd2fb3e453.zip
loggingmanager: Don't use non-standard format specifier to format the timestamp.
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 4154e1a7..0e3e268a 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -35,7 +35,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" }, timestamps = true } };
-local default_timestamp = "%b %d %T";
+local default_timestamp = "%b %d %H:%M:%S";
-- The actual config loggingmanager is using
local logging_config = config.get("*", "core", "log") or default_logging;