HHH-16631 Avoid unnecessary INFO logging at bootstrap

This commit is contained in:
Sanne Grinovero 2023-05-18 11:56:39 +01:00 committed by Andrea Boriero
parent 46d66ec141
commit 1c8e6fe462
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageLogger;
import org.jboss.logging.annotations.ValidIdRange;
import static org.jboss.logging.Logger.Level.INFO;
import static org.jboss.logging.Logger.Level.DEBUG;
/**
* Logging related to Hibernate dialects
@ -33,7 +33,7 @@ public interface DialectLogging {
boolean DEBUG_ENABLED = DIALECT_LOGGER.isDebugEnabled();
boolean TRACE_ENABLED = DIALECT_LOGGER.isTraceEnabled();
@LogMessage(level = INFO)
@LogMessage(level = DEBUG)
@Message(value = "Using dialect: %s", id = 35001)
void usingDialect(Dialect dialect);
}

View File

@ -1362,7 +1362,7 @@ public interface CoreMessageLogger extends BasicLogger {
/**
* @deprecated Use {@link org.hibernate.dialect.DialectLogging#usingDialect} instead
*/
@LogMessage(level = INFO)
@LogMessage(level = DEBUG)
@Message(value = "Using dialect: %s", id = 400)
@Deprecated
void usingDialect(Dialect dialect);
@ -1673,11 +1673,11 @@ public interface CoreMessageLogger extends BasicLogger {
@Message(value = "Cannot locate column information using identifier [%s]; ignoring index [%s]", id = 475 )
void logCannotLocateIndexColumnInformation(String columnIdentifierText, String indexIdentifierText);
@LogMessage(level = INFO)
@LogMessage(level = DEBUG)
@Message(value = "Executing script [%s]", id = 476)
void executingScript(String scriptName);
@LogMessage(level = INFO)
@LogMessage(level = DEBUG)
@Message(value = "Starting delayed evictData of schema as part of SessionFactory shut-down'", id = 477)
void startingDelayedSchemaDrop();