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

Reply via email to