HHH-6033 - Migrate stats to api/spi/internal split
This commit is contained in:
parent
398cabe2a7
commit
4f188a934c
|
@ -474,7 +474,7 @@ public final class SessionFactoryImpl
|
|||
|
||||
private Statistics buildStatistics(Settings settings, ServiceRegistry serviceRegistry) {
|
||||
Statistics statistics = new ConcurrentStatisticsImpl( this );
|
||||
getStatistics().setStatisticsEnabled( settings.isStatisticsEnabled() );
|
||||
statistics.setStatisticsEnabled( settings.isStatisticsEnabled() );
|
||||
LOG.debugf("Statistics initialized [enabled=%s]", settings.isStatisticsEnabled());
|
||||
return statistics;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue