Skip to content

Commit 16aea3d

Browse files
committed
reduce the level of a message from WARN to INFO, and improve its text
1 parent 2d9341c commit 16aea3d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

hibernate-core/src/main/java/org/hibernate/internal/log/IncubationLogger.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import java.lang.invoke.MethodHandles;
1515

16-
import static org.jboss.logging.Logger.Level.WARN;
16+
import static org.jboss.logging.Logger.Level.INFO;
1717

1818
/**
1919
* @author Steve Ebersole
@@ -26,11 +26,10 @@ public interface IncubationLogger {
2626

2727
IncubationLogger INCUBATION_LOGGER = Logger.getMessageLogger( MethodHandles.lookup(), IncubationLogger.class, CATEGORY );
2828

29-
@LogMessage(level = WARN)
29+
@LogMessage(level = INFO)
3030
@Message(
3131
id = 90006001,
32-
value = "Encountered incubating setting [%s]. See javadoc on corresponding " +
33-
"`org.hibernate.cfg.AvailableSettings` constant for details."
32+
value = "Setting '%s' is still incubating (see Javadoc of corresponding member of 'org.hibernate.cfg.AvailableSettings')"
3433
)
3534
void incubatingSetting(String settingName);
3635
}

0 commit comments

Comments
 (0)