Skip to content

Commit

Permalink
Remove milliseconds from timestamps in log files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schildbach committed Aug 11, 2016
1 parent 56c9f6b commit 4a4119f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/src/de/schildbach/wallet/WalletApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private void initLogging()

final PatternLayoutEncoder filePattern = new PatternLayoutEncoder();
filePattern.setContext(context);
filePattern.setPattern("%d{HH:mm:ss.SSS,UTC} [%thread] %logger{0} - %msg%n");
filePattern.setPattern("%d{HH:mm:ss,UTC} [%thread] %logger{0} - %msg%n");
filePattern.start();

final RollingFileAppender<ILoggingEvent> fileAppender = new RollingFileAppender<ILoggingEvent>();
Expand Down

0 comments on commit 4a4119f

Please sign in to comment.