Author: remi
Date: 2009-04-08 13:44:17 +0200 (Wed, 08 Apr 2009)
New Revision: 4412

Modified:
   software_suite_v2/tuxware/tuxdroidserver/trunk/util/logger/SimpleLogger.py
Log:
* added the date in the logged messages

Modified: 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/logger/SimpleLogger.py
===================================================================
--- software_suite_v2/tuxware/tuxdroidserver/trunk/util/logger/SimpleLogger.py  
2009-04-08 11:41:25 UTC (rev 4411)
+++ software_suite_v2/tuxware/tuxdroidserver/trunk/util/logger/SimpleLogger.py  
2009-04-08 11:44:17 UTC (rev 4412)
@@ -132,7 +132,8 @@
         """Get the current time.
         """
         now = time.localtime()
-        timeInfo = "%.2d:%.2d:%.2d" % (now[3], now[4], now[5])
+        timeInfo = "%.4d/%.2d/%.2d %.2d:%.2d:%.2d" % (now[0], now[1], now[2],
+            now[3], now[4], now[5])
         return timeInfo
 
     # 
--------------------------------------------------------------------------


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to