Hi Hugh, First, can you provide your complete logback.xml file because some other items may have impact on your issue ?
The logger that should be using the described appender is the following : <logger name="lsc" level="DEBUG"> <appender-ref ref="LDIF"/> </logger> Can you describe the way you are trying to use LSC ? It seems that you are running a synchronization task to an Active Directory that is redirecting you because your DN seems not to be hosted on the server you are reaching. Regards, -- Sebastien BAHLOUL IAM / Security specialist Ldap Synchronization Connector : http://lsc-project.org Blog : http://sbahloul.wordpress.com/ 2012/4/24 Hugh Kelley <[email protected]> > I am encountering some errors on the modification side of my sync task. > It would be helpful to see the to-be-applied settings in an LDIF file. It > is my understanding that this is what auditing can do, but I can't yet > generate any files. > > Per the online instructions, I have left the <audits/> section of lsc.xml > empty and put the following in logback.xml: > > <!-- special logger to have a LDIF file of all modifications applied > --> > <!-- this file is rotated every 10000KB, compressed and 7 files are > kept for history --> > <appender name="LDIF" > class="ch.qos.logback.core.rolling.RollingFileAppender"> > <!--See also > http://logback.qos.ch/manual/appenders.html#RollingFileAppender--> > <Append>true</Append> > <File>/tmp/lsc.ldif</File> > > <layout class="org.lsc.utils.output.LdifLayout"> > <Pattern>%m%n</Pattern> > <logOperations>create,update</logOperations> > <onlyLdif>true</onlyLdif> > </layout> > > <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> > <level>DEBUG</level> > </filter> > > <rollingPolicy > class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> > <FileNamePattern>lsc.ldif.%i.gz</FileNamePattern> > <MinIndex>1</MinIndex> > <MaxIndex>7</MaxIndex> > </rollingPolicy> > > <triggeringPolicy > class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> > <MaxFileSize>10000KB</MaxFileSize> > </triggeringPolicy> > </appender> > > > The /tmp/lsc.ldif file contains a single line: > > Starting sync for MySyncTask-OUs > > > As an aside, the error I'm trying to sort out is this: > > ERROR - Error while adding entry in directory > :javax.naming.PartialResultException: > [LDAP: error code 10 - 0000202B: RefErr: DSID-031007EF, data 0, 1 > access points ref 1: 'org' ]; > remaining name '/' > > Hugh > > _______________________________________________________________ > Ldap Synchronization Connector (LSC) - http://lsc-project.org > > lsc-users mailing list > [email protected] > http://lists.lsc-project.org/listinfo/lsc-users > >
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

