diff --git a/src/main/java/org/olat/course/statistic/_spring/statisticContext.xml b/src/main/java/org/olat/course/statistic/_spring/statisticContext.xml index c88e1f3fe8c78a2c271d1c17bc3415df486175ed..e44bab4567ed12a7c85177bb8fd7924d0fbd6c94 100644 --- a/src/main/java/org/olat/course/statistic/_spring/statisticContext.xml +++ b/src/main/java/org/olat/course/statistic/_spring/statisticContext.xml @@ -237,13 +237,13 @@ <!-- mysql : select businesspath,date(creationdate) day, count(*) cnt from o_loggingtable group by businesspath,day --> - <bean id="statisticUpdateConfig_test" class="org.olat.course.statistic.StatisticUpdateConfig" > + <bean id="statisticUpdateConfig_test" class="org.olat.course.statistic.StatisticUpdateConfig" lazy-init="true"> <property name="updaters"> <list /> </property> </bean> - <bean id="statisticUpdateConfig_mysql" class="org.olat.course.statistic.StatisticUpdateConfig"> + <bean id="statisticUpdateConfig_mysql" class="org.olat.course.statistic.StatisticUpdateConfig" lazy-init="true"> <property name="updaters"> <list> <bean class="org.olat.course.statistic.MySQLTempStatTableCreator" > @@ -266,7 +266,7 @@ </property> </bean> - <bean class="org.olat.course.statistic.StatisticUpdater" id="DailyStatisticUpdater_mysql"> + <bean class="org.olat.course.statistic.StatisticUpdater" id="DailyStatisticUpdater_mysql" lazy-init="true"> <property name="loggingName" value="DailyStatisticUpdater"/> <property name="jdbcTemplate" ref="statisticsMysqlJdbcTemplate" /> <property name="updateSQL"> @@ -417,7 +417,7 @@ mysql : select businesspath,date(creationdate) day, count(*) cnt from o_loggingtable group by businesspath,day --> - <bean id="statisticUpdateConfig_postgresql" class="org.olat.course.statistic.StatisticUpdateConfig"> + <bean id="statisticUpdateConfig_postgresql" class="org.olat.course.statistic.StatisticUpdateConfig" lazy-init="true"> <property name="updaters"> <list> <bean class="org.olat.course.statistic.StatisticUpdater" > @@ -514,7 +514,7 @@ </property> </bean> - <bean id="statisticUpdateConfig_oracle" class="org.olat.course.statistic.StatisticUpdateConfig"> + <bean id="statisticUpdateConfig_oracle" class="org.olat.course.statistic.StatisticUpdateConfig" lazy-init="true"> <property name="updaters"> <list> <bean class="org.olat.course.statistic.StatisticUpdater" id="LastUpdatedUpdater_oracle"> diff --git a/src/main/java/org/olat/login/auth/OLATAuthManager.java b/src/main/java/org/olat/login/auth/OLATAuthManager.java index 0161c09c15e0a8e959a108a40310f1a59dad7297..37a00f22fe66496eb8524062de235fe36d6bab15 100644 --- a/src/main/java/org/olat/login/auth/OLATAuthManager.java +++ b/src/main/java/org/olat/login/auth/OLATAuthManager.java @@ -75,7 +75,7 @@ import com.thoughtworks.xstream.XStream; @Service("olatAuthenticationSpi") public class OLATAuthManager extends BasicManager implements AuthenticationSPI { - private static OLog log = Tracing.createLoggerFor(OLATAuthenticationController.class); + private static OLog log = Tracing.createLoggerFor(OLATAuthManager.class); @Autowired private UserManager userManager;