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.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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue