@ -3,6 +3,7 @@
<Properties >
<Property name= "root.log.level" > INFO</Property>
</Properties>
<Appenders >
<Console name= "Console" target= "SYSTEM_OUT" >
<PatternLayout >
@ -13,11 +14,27 @@
<Console name= "SubProcessConsole" target= "SYSTEM_OUT" >
<PatternLayout pattern= "%X{test} | %X{node} | %msg%n" />
</Console>
<Routing name= "PerTestFile" >
<Routes pattern= "${ctx:class}-${ctx:test}" >
<Route key= "$${ctx:class}-$${ctx:test}" >
<!-- The class and test names failed to resolve, so use a catch - all filename -->
<File
name="Appends to AllTestsMissingExtraLoggingConf.log"
filename="build/acceptanceTestLogs/AllTestsMissingExtraLoggingConf.log"
append="true"
createOnDemand="true"
>
<PatternLayout >
<pattern > %X{node} | %d{HH:mm:ss.SSS} | %t | %-5level | %c{1} | %msg%n</pattern>
<replace regex= "^ \| " replacement= "" />
</PatternLayout>
</File>
</Route>
<Route >
<!-- The default route sends the log to an on - demand file whose name contains the class and test names -->
<File
name="Test-${ctx:class}-${ctx:test}"
name="Creates CLASSNAME.TESTNAME.log "
filename="build/acceptanceTestLogs/${ctx:class}.${ctx:test}.log"
append="false"
createOnDemand="true"
@ -32,9 +49,21 @@
</Routing>
<Routing name= "PerTestSubprocessFile" >
<Routes pattern= "${ctx:class}-${ctx:test}" >
<Route key= "$${ctx:class}-$${ctx:test}" >
<!-- The class and test names failed to resolve, so use a catch - all filename -->
<File
name="Appends to AllTestsMissingExtraLoggingConf.log"
filename="build/acceptanceTestLogs/AllTestsMissingExtraLoggingConf.log"
append="true"
createOnDemand="true"
>
<PatternLayout pattern= "%X{node} | %msg%n" />
</File>
</Route>
<Route >
<!-- The default route sends the log to an on - demand file whose name contains the class and test names -->
<File
name="TestSubprocess-${ctx:class}-${ctx:test}"
name="Appends to CLASSNAME.TESTNAME.log "
filename="build/acceptanceTestLogs/${ctx:class}.${ctx:test}.log"
append="true"
createOnDemand="true"
@ -42,6 +71,7 @@
<PatternLayout pattern= "%X{node} | %msg%n" />
</File>
</Route>
</Routes>
</Routing>