Fix FloggerLogString error

* Arguments to log(String) must be compile-time constants or parameters
annotated with @CompileTimeConstant. If possible, use Flogger's
formatting log methods instead.

Solves: Jira GER-2218
Change-Id: I116bcfaee78a22cabb3fc6ce86dd2c3794dc02c0
diff --git a/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/config/EventIdCacheConfig.java b/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/config/EventIdCacheConfig.java
index c6fb39f..130bb1b 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/config/EventIdCacheConfig.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/eventseiffel/config/EventIdCacheConfig.java
@@ -55,7 +55,7 @@
   public EventIdCacheConfig(boolean trustLocalCache, int maxNbrOfEntries) {
     this.trustLocalCache = trustLocalCache;
     this.maxNbrOfEntries = maxNbrOfEntries;
-    logger.atInfo().log("Event-id cache max-size is set to: " + maxNbrOfEntries);
+    logger.atInfo().log("Event-id cache max-size is set to: %d", maxNbrOfEntries);
   }
 
   public boolean trustLocalCache() {