Skip to content
Permalink
Browse files
Merge pull request #5 from pjanouse/JENKINS-29159
[JENKINS-29159] Added millis to the File audit logger message
  • Loading branch information
olivergondza committed Aug 26, 2015
2 parents 0bf5878 + d86af25 commit 6edd0e229b126fe1d5a43f704d8125dacdc0e69e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/audit_trail/LogFileAuditLogger.java
@@ -70,7 +70,7 @@ public void configure() {
try {
FileHandler h = new FileHandler(log, limit * 1024 * 1024, count, true);
h.setFormatter(new Formatter() {
SimpleDateFormat dateformat = new SimpleDateFormat("MMM d, yyyy h:mm:ss aa ");
SimpleDateFormat dateformat = new SimpleDateFormat("MMM d, yyyy h:mm:ss,SSS aa ");

public synchronized String format(LogRecord record) {
return dateformat.format(new Date(record.getMillis()))

0 comments on commit 6edd0e2

Please sign in to comment.