Skip to content

Commit

Permalink
fix: log date format attempted fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Syn-McJ committed Jan 5, 2025
1 parent 377b6d0 commit 3517048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallet/src/de/schildbach/wallet/WalletApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ private void logState() {
Threading.warnOnLockCycles();

Threading.uncaughtExceptionHandler = (thread, throwable) -> {
log.info("PERF: dashj uncaught exception", throwable);
log.info("dashj uncaught exception", throwable);
CrashReporter.saveBackgroundTrace(throwable, packageInfoProvider.getPackageInfo());
};

Expand Down Expand Up @@ -622,7 +622,7 @@ private void initLogging() {
final SizeAndTimeBasedRollingPolicy<ILoggingEvent> rollingPolicy = new SizeAndTimeBasedRollingPolicy<ILoggingEvent>();
rollingPolicy.setContext(context);
rollingPolicy.setParent(fileAppender);
rollingPolicy.setFileNamePattern(logDir.getAbsolutePath() + "/wallet.%i.%d{yyyy-MM-dd,UTC}.log.gz");
rollingPolicy.setFileNamePattern(logDir.getAbsolutePath() + "/wallet.%i.%d{yyyy-MM-dd, UTC}.log.gz");
rollingPolicy.setMaxHistory(20);
rollingPolicy.setMaxFileSize(FileSize.valueOf("10MB"));
rollingPolicy.setTotalSizeCap(FileSize.valueOf("200MB"));
Expand Down

0 comments on commit 3517048

Please sign in to comment.