<configuration scan="true" scanPeriod="3 seconds"> <property name="logDir" value="logs" /> <property name="componentName" value="SDC" /> <property name="defaultPattern" value="%logger|%date{ISO8601,UTC}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{ClassName}|%X{Timer}| %msg%n" /> <property name="logDirectory" value="${logDir}/${componentName}" /> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>${defaultPattern}</pattern> </encoder> </appender> <root level="ERROR"> <appender-ref ref="STDOUT" /> </root> </configuration>