<configuration>

    <appender name="smockin_appender" class="ch.qos.logback.core.FileAppender">
        <file>${user.home}/.smockin/log/smockin.log</file>
        <encoder>
            <pattern>%d %-5level [%thread] %logger : %msg%n</pattern>
        </encoder>
    </appender>

    <appender name="mock_traffic_appender" class="ch.qos.logback.core.FileAppender">
        <file>${user.home}/.smockin/log/mock_traffic.log</file>
        <encoder>
            <pattern>%date:%n%msg%n</pattern>
        </encoder>
    </appender>

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d %-5level %logger : %msg%n</pattern>
        </encoder>
    </appender>

    <logger name="mock_traffic_logger" level="INFO">
        <appender-ref ref="mock_traffic_appender" />
    </logger>

    <logger name="smockin_logger" level="WARN">
        <appender-ref ref="smockin_appender" />
    </logger>

    <logger name="com.smockin" level="WARN">
        <appender-ref ref="smockin_appender" />
    </logger>

    <root level="WARN">
        <appender-ref ref="STDOUT" />
    </root>

</configuration>
<configuration>

    <appender name="smockin_appender" class="ch.qos.logback.core.FileAppender">
        <file>${user.home}/.smockin/log/smockin.log</file>
        <encoder>
            <pattern>%d %-5level [%thread] %logger : %msg%n</pattern>
        </encoder>
    </appender>

    <appender name="mock_traffic_appender" class="ch.qos.logback.core.FileAppender">
        <file>${user.home}/.smockin/log/mock_traffic.log</file>
        <encoder>
            <pattern>%date:%n%msg%n</pattern>
        </encoder>
    </appender>

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d %-5level %logger : %msg%n</pattern>
        </encoder>
    </appender>

    <logger name="mock_traffic_logger" level="INFO">
        <appender-ref ref="mock_traffic_appender" />
    </logger>

    <logger name="smockin_logger" level="WARN">
        <appender-ref ref="smockin_appender" />
    </logger>

    <logger name="com.smockin" level="WARN">
        <appender-ref ref="smockin_appender" />
    </logger>

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

</configuration>
Set console logging to DEBUG level.
Set console logging to DEBUG level.
