diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/logging/LogEntry.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/logging/LogEntry.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pki/base/common/src/com/netscape/cms/logging/LogEntry.java b/pki/base/common/src/com/netscape/cms/logging/LogEntry.java index b95f2687f..4ab9f2817 100644 --- a/pki/base/common/src/com/netscape/cms/logging/LogEntry.java +++ b/pki/base/common/src/com/netscape/cms/logging/LogEntry.java @@ -17,15 +17,17 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.cms.logging; + import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Vector; + /** * A log entry of LogFile - * + * * @version $Revision$, $Date$ */ public class LogEntry { @@ -41,7 +43,7 @@ public class LogEntry { /** * Constructor for a LogEntry. - * + * */ public LogEntry(String entry) throws ParseException { mEntry = entry; @@ -50,10 +52,10 @@ public class LogEntry { /** * parse a log entry - * + * * return a vector of the segments of the entry */ - + public Vector parse() throws ParseException { int x = mEntry.indexOf("["); @@ -94,8 +96,7 @@ public class LogEntry { row.addElement(mTime); row.addElement(mDetail); - // System.out.println(mSource +"," + mLevel +","+ - // mDate+","+mTime+","+mDetail); + //System.out.println(mSource +"," + mLevel +","+ mDate+","+mTime+","+mDetail); return row; } |