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> </Properties>
<Appenders> <Appenders>
<Console name="Console" target="SYSTEM_OUT"> <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>
<Console name="SubProcessConsole" target="SYSTEM_OUT"> <Console name="SubProcessConsole" target="SYSTEM_OUT">
<PatternLayout pattern="%X{test} | %X{node} | %msg%n" /> <PatternLayout pattern="%X{test} | %X{node} | %msg%n" />
@ -19,7 +22,10 @@
append="false" append="false"
createOnDemand="true" 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> </File>
</Route> </Route>
</Routes> </Routes>

Loading…
Cancel
Save