core/loggingmanager.lua

changeset 2925
692b3c6c5bd2
parent 2586
26ead5e16cd3
parent 2923
b7049746bd29
child 2963
abd1a30330e0
child 3017
31cda82337dc
child 3043
1fadbb2e3ca0
--- a/core/loggingmanager.lua	Mon Mar 22 15:05:05 2010 +0000
+++ b/core/loggingmanager.lua	Mon Mar 22 17:24:55 2010 +0000
@@ -1,6 +1,6 @@
 -- Prosody IM
--- Copyright (C) 2008-2009 Matthew Wild
--- Copyright (C) 2008-2009 Waqas Hussain
+-- Copyright (C) 2008-2010 Matthew Wild
+-- Copyright (C) 2008-2010 Waqas Hussain
 -- 
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
@@ -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;
 

mercurial