Fix logger call to align arguments with format pattern (#44236)

Signed-off-by: Lucas <lucas.bickel@adfinis.com>
This commit is contained in:
Lucas 2025-11-14 17:13:31 +01:00 committed by GitHub
parent 02803528d6
commit 083d79c560
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -268,7 +268,7 @@ public final class CacheConfigurator {
throw cacheNotFound(name);
}
if (builder.memory().maxCount() == -1) {
logger.infof("Offline sessions should have a max count set to avoid excessive memory usage. Setting a default cache limit of %d for cache %s.", name, SESSIONS_CACHE_DEFAULT_MAX);
logger.infof("Offline sessions should have a max count set to avoid excessive memory usage. Setting a default cache limit of %d for cache %s.", SESSIONS_CACHE_DEFAULT_MAX, name);
builder.memory().maxCount(SESSIONS_CACHE_DEFAULT_MAX);
}
if (builder.clustering().hash().attributes().attribute(HashConfiguration.NUM_OWNERS).get() != 1 &&