Software /
code /
prosody
Changeset
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 |
parents | 2891:955a12ac985e |
children | 2923:b7049746bd29 |
files | core/loggingmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;