<configuration>

	<substitutionProperty name="user.home.dir"
		value="/Users/seb" />

	<appender name="FILE"
		class="ch.qos.logback.core.rolling.RollingFileAppender">
		<file>${user.home.dir}/myApp.log</file>
		<rollingPolicy
			class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<FileNamePattern>
				myApp-%d{yyyy-MM-dd-HH}.log
			</FileNamePattern>
		</rollingPolicy>
		<layout class="ch.qos.logback.classic.PatternLayout">
			<Pattern>
				%date %level [%thread] %logger{10} [%file : %line] %msg%n
			</Pattern>
		</layout>
	</appender>

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