<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>${user.home}/.prob/ProB2UI.log</file>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<fileNamePattern>${user.home}/.prob/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="DEBUG">
		<appender-ref ref="STDOUT" />
		<appender-ref ref="FILE" />
	</root>
</configuration>

<configuration>
	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<encoder>
			<pattern>[%d, %relative ms] "%thread" [%level] %logger.%method\(%file:%line\): %msg%n%ex{full}</pattern>
		</encoder>
	</appender>

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

	<root level="DEBUG">
		<appender-ref ref="STDOUT" />
		<appender-ref ref="FILE" />
	</root>
</configuration>

Update unit for %relative in log messages
Update unit for %relative in log messages

Co-Authored-By: Blaise Recurt <fc5fb0ec89882b1729aeb2daab870284569bd225@clearsy.com>
Co-Authored-By: David Schneider <04ffd2f2918ddafc1811f6c1703358efab29f019@bivab.de>
