Skip to content

Commit

Permalink
[JENKINS-29159] Added millis to the File audit logger message
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanouse committed Jul 1, 2015
1 parent 0bf5878 commit d86af25
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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()))
Expand Down

0 comments on commit d86af25

Please sign in to comment.