Skip to content
Permalink
Browse files
[JENKINS-29159] Added millis to the File audit logger message
  • Loading branch information
pjanouse committed Jul 1, 2015
1 parent 0bf5878 commit d86af2529ef6ec250ff880c248819a0668224f94
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 d86af25

Please sign in to comment.