Fix TmchSmdrlAction log messages (#1027)

This commit is contained in:
sarahcaseybot 2021-03-22 15:22:55 -04:00 committed by GitHub
parent f5fb07eb77
commit b6e4ff4e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ public final class TmchSmdrlAction implements Runnable {
@Inject @Key("marksdbSmdrlLoginAndPassword") Optional<String> marksdbSmdrlLoginAndPassword;
@Inject TmchSmdrlAction() {}
/** Synchronously fetches latest signed mark revocation list and saves it to Datastore. */
/** Synchronously fetches latest signed mark revocation list and saves it to the database. */
@Override
public void run() {
List<String> lines;
@ -57,7 +57,7 @@ public final class TmchSmdrlAction implements Runnable {
SignedMarkRevocationList smdrl = SmdrlCsvParser.parse(lines);
smdrl.save();
logger.atInfo().log(
"Inserted %,d smd revocations into Datastore, created at %s",
"Inserted %,d smd revocations into the database, created at %s",
smdrl.size(), smdrl.getCreationTime());
}
}