diff --git a/maxscale-system-test/fail_switch_rejoin_common.cpp b/maxscale-system-test/fail_switch_rejoin_common.cpp index ccb6541da..cd03dbbe1 100644 --- a/maxscale-system-test/fail_switch_rejoin_common.cpp +++ b/maxscale-system-test/fail_switch_rejoin_common.cpp @@ -22,7 +22,8 @@ void get_output(TestConnections& test) { test.tprintf("MaxScale output:"); } - output = test.maxscales->ssh_node_output(0, "cat /var/log/maxscale/maxscale.log && " + output = test.maxscales->ssh_node_output(0, + "cat /var/log/maxscale/maxscale.log | tee -a /var/log/maxscale/maxscale_backup.log && " "sudo truncate -s 0 /var/log/maxscale/maxscale.log", true, &ec); if (test.verbose)