Skip to content

Commit

Permalink
fix logging to be compatible with Android for AdvancedTlsX509KeyManager
Browse files Browse the repository at this point in the history
  • Loading branch information
danielzhaotongliu committed Jun 6, 2024
1 parent a28357e commit 4b92e4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ public void run() {
this.currentCertTime = newResult.certTime;
}
} catch (IOException | GeneralSecurityException e) {
log.log(Level.SEVERE, e, () -> String.format("Failed refreshing private key and certificate"
log.log(Level.SEVERE, String.format("Failed refreshing private key and certificate"
+ " chain from files. Using previous ones (keyFile lastModified = %s, certFile "
+ "lastModified = %s)", keyFile.lastModified(), certFile.lastModified()));
+ "lastModified = %s)", keyFile.lastModified(), certFile.lastModified()), e);
}
}
}
Expand Down

0 comments on commit 4b92e4c

Please sign in to comment.