<configuration>

  <appender name="ROLLING"
    class="ch.qos.logback.core.rolling.RollingFileAppender">
    <File>${randomOutputDir}z${testId}</File>
    <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
      <FileNamePattern>${randomOutputDir}${testId}-%d{yyyy-MM-dd_HH_mm_ss}.%i</FileNamePattern>
      <maxFileSize>100</maxFileSize>  
      <maxHistory>4</maxHistory>
      <totalSizeCap>10</totalSizeCap>
    </rollingPolicy>
    <encoder>
      <Pattern>%msg%n</Pattern>
    </encoder>
  </appender>


  <root level="debug">
    <appender-ref ref="ROLLING" />
  </root>

</configuration>
