selenium-webdriverautomated-testsselenium-gridselenium-grid2

How do I get my Selenium Grid Hub log


I have a selenium grid2 set up on an AWS instance, and I was wondering if there's a way I could view the logs on my local machine?

I understand I can visit: http://MyServerAddress/grid/console and view all of the nodes but I want the actual log. Its a bit of a pain having to remote desktop to the server each time I want to view it.

I was thinking something like http://MyServerAddress/grid/log but alas, it doesnt seem to be an option.


Solution

  • There's nothing available out of the box. But you can build this on your own.

    You can refer to this LogServlet for a sample.