Software /
code /
prosody
Changeset
1344:ca74a6a38dfb
loggingmanager: Log timestamps when using default file logging
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 19 Jun 2009 17:23:17 +0100 |
parents | 1343:a0bee511d144 |
children | 1345:35b5686d73ea |
files | core/loggingmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/loggingmanager.lua Fri Jun 19 17:22:16 2009 +0100 +++ b/core/loggingmanager.lua Fri Jun 19 17:23:17 2009 +0100 @@ -20,7 +20,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" } } }; +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;