From 49f5c5769637acb84a99354ab5bf69a5dd7c7fa6 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Thu, 7 Nov 2019 15:48:43 +0100 Subject: [PATCH] put ORM initialisation log messages in debug level --- src/main/java/fr/pandacube/util/orm/ORM.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/pandacube/util/orm/ORM.java b/src/main/java/fr/pandacube/util/orm/ORM.java index e94f2c5..efbc712 100644 --- a/src/main/java/fr/pandacube/util/orm/ORM.java +++ b/src/main/java/fr/pandacube/util/orm/ORM.java @@ -42,11 +42,11 @@ public final class ORM { if (tables.contains(elemClass)) return; try { tables.add(elemClass); - Log.info("[ORM] Start Init SQL table "+elemClass.getSimpleName()); + Log.debug("[ORM] Start Init SQL table "+elemClass.getSimpleName()); E instance = elemClass.newInstance(); String tableName = instance.tableName(); if (!tableExist(tableName)) createTable(instance); - Log.info("[ORM] End init SQL table "+elemClass.getSimpleName()); + Log.debug("[ORM] End init SQL table "+elemClass.getSimpleName()); } catch (Exception|ExceptionInInitializerError e) { throw new ORMInitTableException(elemClass, e); }