<configuration>

  <appender name="SIFTING"
    class="ch.qos.logback.access.sift.SiftingAppender">

    <Discriminator>
      <Key>uri</Key>
      <FieldName>REQUEST_URI</FieldName>
      <DefaultValue>NA</DefaultValue>
    </Discriminator>
    <sift>
      <appender name="${uri}" class="ch.qos.logback.core.read.ListAppender" />
    </sift>
  </appender>

  <appender-ref ref="SIFTING" />
</configuration>