<configuration>
   <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
   <File>logFile.log</File>
   <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
     <FileNamePattern>logFile.%d{yyyy-MM-dd}.log</FileNamePattern>
   </rollingPolicy>

   <layout class="ch.qos.logback.classic.PatternLayout">
     <Pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</Pattern>
   </layout>
 </appender> 

 <root>
   <level value="debug" />
   <appender-ref ref="FILE" />
 </root>
</configuration>