HHH-6033 - Migrate stats to api/spi/internal split

This commit is contained in:
Steve Ebersole 2011-03-21 18:37:44 -05:00
parent 398cabe2a7
commit 4f188a934c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}