Software /
code /
prosody
Diff
core/loggingmanager.lua @ 2922:0ea2ed371fb2
loggingmanager: Don't use non-standard format specifier to format the timestamp.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 22 Mar 2010 21:58:38 +0500 |
parent | 2139:625b2d3e8900 |
child | 2923:b7049746bd29 |
line wrap: on
line diff
--- a/core/loggingmanager.lua Thu Mar 18 01:16:39 2010 +0000 +++ b/core/loggingmanager.lua Mon Mar 22 21:58:38 2010 +0500 @@ -35,7 +35,7 @@ -- 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;