<configuration>
	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<encoder>
			<pattern>[%d, %relative sec] "%thread" [%level] %logger.%method\(%file:%line\): %msg%n%ex{full}</pattern>
		</encoder>
	</appender>
	
	<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
		<file>./ProB2UI.log</file>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<fileNamePattern>ProB2UI.log.%d{yyyy-MM-dd}.log</fileNamePattern>
			<maxHistory>7</maxHistory>
		</rollingPolicy>
		
		<encoder>
			<pattern>[%d, %relative sec] "%thread" [%level] %logger.%method\(%file:%line\): %msg%n%ex{full}</pattern>
		</encoder>
	</appender>
	
	<root level="TRACE">
		<appender-ref ref="STDOUT" />
		<appender-ref ref="FILE" />
	</root>
</configuration>

Add a Logback config file to write logs to the console and a log file
Add a Logback config file to write logs to the console and a log file
