From 4ef48f3ae303affb61c6cdb41206de5fc4daa555 Mon Sep 17 00:00:00 2001 From: Elaine Tan Date: Fri, 10 Aug 2012 18:23:11 +0800 Subject: [PATCH] Ticket #1001160: Add time stamps to the logs for all levels from Warning through to All --- org.adempiere.base/src/org/compiere/util/CLogFormatter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.adempiere.base/src/org/compiere/util/CLogFormatter.java b/org.adempiere.base/src/org/compiere/util/CLogFormatter.java index ee3bf141c9..77050a069a 100644 --- a/org.adempiere.base/src/org/compiere/util/CLogFormatter.java +++ b/org.adempiere.base/src/org/compiere/util/CLogFormatter.java @@ -93,12 +93,14 @@ public class CLogFormatter extends Formatter /** Time/Error */ if (record.getLevel() == Level.SEVERE) { // 12:12:12.123 + sb.append(tsStr.substring(11, 23)); sb.append("===========> "); if (Ini.isClient()) Toolkit.getDefaultToolkit().beep(); } else if (record.getLevel() == Level.WARNING) { // 12:12:12.123 + sb.append(tsStr.substring(11, 23)); sb.append("-----------> "); } else