<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration>

<configuration debug="true">

  <appender name="SIFT" class="ch.qos.logback.classic.sift.SiftingAppender">

    <discriminator>
      <key>userid</key>
      <defaultValue>multipleDefault</defaultValue>
    </discriminator>
    <sift>
      <appender name="a-${userid}" class="ch.qos.logback.core.read.ListAppender" />
      <appender name="b-${userid}"  class="ch.qos.logback.core.read.ListAppender" />
    </sift>
  </appender>

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

</configuration>
