Add milliseconds, seconds is not granular enough for log entries
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Jul 2009 17:08:05 +0000 (17:08 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Jul 2009 17:08:05 +0000 (17:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@791911 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/juli/OneLineFormatter.java

index e30ebb5..87d21dc 100644 (file)
@@ -47,7 +47,7 @@ public class OneLineFormatter extends Formatter {
     private final SimpleDateFormat monthFormatter = new SimpleDateFormat("MM");
     private final SimpleDateFormat yearFormatter = new SimpleDateFormat("yyyy");
     private final SimpleDateFormat timeFormatter =
-        new SimpleDateFormat("HH:mm:ss");
+        new SimpleDateFormat("HH:mm:ss.S");
     
     private Date currentDate;
     private String currentDateString;