Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:adm:czechidm_installation [2021/03/10 11:12]
tomiskar
tutorial:adm:czechidm_installation [2021/05/10 16:05]
urbanl [5. Create CzechIdM configuration] Changed DB logback appender to support IdM 11
Line 103: Line 103:
 </file> </file>
   * The **/opt/czechidm/etc/logback-spring.xml** specifies logging configuration. This is the default logging configuration that you can use out of the box.   * The **/opt/czechidm/etc/logback-spring.xml** specifies logging configuration. This is the default logging configuration that you can use out of the box.
-<note important>Since IdM version **11.0.0** use DB appender `eu.bcvsolutions.idm.core.exception.IdmDbAppender` instead `ch.qos.logback.classic.db.DBAppender`!</note>+
 <file xml logback-spring.xml> <file xml logback-spring.xml>
 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
Line 125: Line 125:
         <springProperty name="spring.datasource.password" source="spring.datasource.password"/>         <springProperty name="spring.datasource.password" source="spring.datasource.password"/>
  
-        <appender name="DB" class="ch.qos.logback.classic.db.DBAppender">+        <appender name="DB" class="eu.bcvsolutions.idm.core.exception.IdmDbAppender">
             <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource">             <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource">
                 <driverClass>${spring.datasource.driver-class-name}</driverClass>                 <driverClass>${spring.datasource.driver-class-name}</driverClass>
  • by kralikf