<configuration debug="true">

  <appender name="SIFT" class="ch.qos.logback.classic.sift.SiftingAppender">
    <discriminator>
      <key>userid</key>
      <defaultValue>default</defaultValue>
    </discriminator>
    <sift>
      <appender name="LIST-${userid}"
        class="ch.qos.logback.core.testUtil.StringListAppender">
        <layout>
          <pattern>%level %msg</pattern>
        </layout>
      </appender>
    </sift>
  </appender>

  <root level="DEBUG">
    <appender-ref ref="SIFT" />
  </root>

</configuration>
