Le 03/06/2019 à 17:39, Ralf Mattes a écrit : > > Am Montag, 03. Juni 2019 17:23 CEST, Clément OUDOT > <[email protected]> schrieb: > >> Le 03/06/2019 à 17:13, Ralf Mattes a écrit : >>> Is it posslible to do dry-runs (-n,--dryrun) and still get an ldif log file? >> >> Yes, but you need to set DEBUG loglevel in logback.xml > Hmm - I tried it with: > > <appender name="LDIF" class="ch.qos.logback.core.rolling.RollingFileAppender"> > <file>/var/log/lsc/lsc.ldif</file> > > <layout class="org.lsc.utils.output.LdifLayout"> > <Pattern>%m%n</Pattern> > <onlyLdif>true</onlyLdif> > <logOperations>create,update</logOperations> > </layout> > > <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> > <level>DEBUG</level> > </filter> > > > but nothing shows up in that file.
Try the appender: <!-- Messages for LDIF output --> <logger name="lsc" level="DEBUG"> <appender-ref ref="LDIF"/> </logger> Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

