How to remove name of the test method from the test logs

I have got some tests with lengthy names which occupy most of the screen. For every message that I log from the tests to be displated in the TC logs, it is prepended with the full test name which makes me scroll to right everytime I have to read the logs. How can I stop TC from including the test name on every line of the log

Here is an example

[Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] Running on 3 nodes
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [RUNNER][9/5/2015 1:44:16 PM][INFO][Akka.MultiNodeTestRunner.Shared]: Started node 1 on pid 1364
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [RUNNER][9/5/2015 1:44:16 PM][INFO][Akka.MultiNodeTestRunner.Shared]: Started node 2 on pid 2140
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [RUNNER][9/5/2015 1:44:16 PM][INFO][Akka.MultiNodeTestRunner.Shared]: Started node 3 on pid 1148
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child m
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child n
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child o
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child p
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child q
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child r
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child s
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] [WARNING][9/5/2015 1:44:16 PM][Thread 0011][LocalActorRefProvider(akka://TestRunnerLogging)] akka://TestRunnerLogging/temp trying to remove non-child t
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] Results for Akka.Cluster.Tests.MultiNode.RemoteScatterGatherSpecNode.RemoteScatterGatherSpecTests
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] Start time: 9/5/2015 1:43:49 PM
[13:44:16][Akka.Cluster.Tests.MultiNode.LeaderLeavingSpecConfig+ALeaderLeavingMultiNode.ALeaderThatIsLeavingMustBeMovedToLeavingThenExitingThenRemovedThenBeShutDownAndThenANewLeaderShouldBeElected] --> Node 1: PASS [00:00:23.6287642 elapsed]
1 comment
Comment actions Permalink

Please try unchecking "Repeat block names" checkbox. It is located at the top of the buildlog, on the right.

0

Please sign in to leave a comment.