HHH-16631 Avoid unnecessary INFO logging at bootstrap
This commit is contained in:
parent
296756a6b7
commit
af86f96f27
|
@ -14,7 +14,7 @@ import org.jboss.logging.annotations.Message;
|
||||||
import org.jboss.logging.annotations.MessageLogger;
|
import org.jboss.logging.annotations.MessageLogger;
|
||||||
import org.jboss.logging.annotations.ValidIdRange;
|
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
|
* Logging related to Hibernate dialects
|
||||||
|
@ -33,7 +33,7 @@ public interface DialectLogging {
|
||||||
boolean DEBUG_ENABLED = DIALECT_LOGGER.isDebugEnabled();
|
boolean DEBUG_ENABLED = DIALECT_LOGGER.isDebugEnabled();
|
||||||
boolean TRACE_ENABLED = DIALECT_LOGGER.isTraceEnabled();
|
boolean TRACE_ENABLED = DIALECT_LOGGER.isTraceEnabled();
|
||||||
|
|
||||||
@LogMessage(level = INFO)
|
@LogMessage(level = DEBUG)
|
||||||
@Message(value = "Using dialect: %s", id = 35001)
|
@Message(value = "Using dialect: %s", id = 35001)
|
||||||
void usingDialect(Dialect dialect);
|
void usingDialect(Dialect dialect);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1362,7 +1362,7 @@ public interface CoreMessageLogger extends BasicLogger {
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link org.hibernate.dialect.DialectLogging#usingDialect} instead
|
* @deprecated Use {@link org.hibernate.dialect.DialectLogging#usingDialect} instead
|
||||||
*/
|
*/
|
||||||
@LogMessage(level = INFO)
|
@LogMessage(level = DEBUG)
|
||||||
@Message(value = "Using dialect: %s", id = 400)
|
@Message(value = "Using dialect: %s", id = 400)
|
||||||
@Deprecated
|
@Deprecated
|
||||||
void usingDialect(Dialect dialect);
|
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 )
|
@Message(value = "Cannot locate column information using identifier [%s]; ignoring index [%s]", id = 475 )
|
||||||
void logCannotLocateIndexColumnInformation(String columnIdentifierText, String indexIdentifierText);
|
void logCannotLocateIndexColumnInformation(String columnIdentifierText, String indexIdentifierText);
|
||||||
|
|
||||||
@LogMessage(level = INFO)
|
@LogMessage(level = DEBUG)
|
||||||
@Message(value = "Executing script '%s'", id = 476)
|
@Message(value = "Executing script '%s'", id = 476)
|
||||||
void executingScript(String scriptName);
|
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)
|
@Message(value = "Starting delayed evictData of schema as part of SessionFactory shut-down'", id = 477)
|
||||||
void startingDelayedSchemaDrop();
|
void startingDelayedSchemaDrop();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue