Skip to content

Commit

Permalink
Stop spamming of registering type handlers by setting this info to de…
Browse files Browse the repository at this point in the history
…bug (#164)
  • Loading branch information
JohannesRabauer authored Dec 20, 2024
1 parent e2b7ce6 commit 1197ace
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ final synchronized <T> boolean internalRegisterTypeHandler(
{
// put instead of add to allow custom-tailored replacements for native handlers (e.g. divergent TID or logic)

logger.info("Registering type handler {} for type {}", typeHandlerInitializer.getClass(), type);
logger.debug("Registering type handler {} for type {}", typeHandlerInitializer.getClass(), type);

return this.liveTypeHandlers.put(
notNull(type),
Expand All @@ -158,7 +158,7 @@ public synchronized <T> boolean registerLegacyTypeHandler(
final PersistenceLegacyTypeHandler<D, T> legacyTypeHandler
)
{
logger.info("Registering legacy type handler {} for type {}", legacyTypeHandler.getClass(), legacyTypeHandler.typeName());
logger.debug("Registering legacy type handler {} for type {}", legacyTypeHandler.getClass(), legacyTypeHandler.typeName());

return this.legacyTypeHandlers.add(legacyTypeHandler);
}
Expand Down

0 comments on commit 1197ace

Please sign in to comment.