Skip to content

Commit

Permalink
Merge pull request #5 from pjanouse/JENKINS-29159
Browse files Browse the repository at this point in the history
[JENKINS-29159] Added millis to the File audit logger message
  • Loading branch information
olivergondza committed Aug 26, 2015
2 parents 0bf5878 + d86af25 commit 6edd0e2
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 6edd0e2

Please sign in to comment.