This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
tutorial:adm:czechidm_installation [2021/03/08 10:37] svandav |
tutorial:adm:czechidm_installation [2021/05/10 16:05] urbanl [5. Create CzechIdM configuration] Changed DB logback appender to support IdM 11 |
</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"?> |
<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> |