Fix: ensure that node is displayed if recorded (#574)

Signed-off-by: Horacio Mijail Anton Quiles <hmijail@gmail.com>

Co-authored-by: CJ Hare <CjHare@users.noreply.github.com>
pull/634/head
Horacio Mijail Antón Quiles 5 years ago committed by GitHub
parent ce031f1973
commit 700c5e146b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      acceptance-tests/tests/src/test/resources/log4j2.xml

@ -5,7 +5,10 @@
</Properties>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%X{test} | %d{HH:mm:ss.SSS} | %t | %-5level | %c{1} | %msg%n" />
<PatternLayout>
<pattern>%X{test} | %X{node} | %d{HH:mm:ss.SSS} | %t | %-5level | %c{1} | %msg%n</pattern>
<replace regex="\| \| " replacement="| "/>
</PatternLayout>
</Console>
<Console name="SubProcessConsole" target="SYSTEM_OUT">
<PatternLayout pattern="%X{test} | %X{node} | %msg%n" />
@ -19,7 +22,10 @@
append="false"
createOnDemand="true"
>
<PatternLayout pattern="%d{HH:mm:ss.SSS} | %t | %-5level | %c{1} | %msg%n" />
<PatternLayout>
<pattern>%X{node} | %d{HH:mm:ss.SSS} | %t | %-5level | %c{1} | %msg%n</pattern>
<replace regex="^ \| " replacement=""/>
</PatternLayout>
</File>
</Route>
</Routes>

Loading…
Cancel
Save