I execute my tests under Grid Hub and 3 nodes run on 3 remote computers. In my log I can see the messages in random order posted from all these nodes. In order to analyze the logs I have to sort it by computer name. I tried it in following way (Java):
System.getenv().get("COMPUTERNAME")
But every time it returns the name of computer where Hub is running.