Skip to content

Commit

Permalink
Shortening string representation of capabilities in the hub log. Fixe…
Browse files Browse the repository at this point in the history
…s issue 6445
  • Loading branch information
barancev committed Dec 19, 2013
1 parent f904d16 commit 53448f4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.openqa.grid.internal.exception.NewSessionException;
import org.openqa.grid.internal.listeners.Prioritizer;
import org.openqa.grid.internal.listeners.TestSessionListener;
import org.openqa.selenium.remote.DesiredCapabilities;


/**
Expand Down Expand Up @@ -101,7 +102,8 @@ protected void forwardRequest(TestSession session, RequestHandler handler) throw
public void process() {
switch (request.getRequestType()) {
case START_SESSION:
log.info("Got a request to create a new session: " + request.getDesiredCapabilities());
log.info("Got a request to create a new session: "
+ new DesiredCapabilities(request.getDesiredCapabilities()));
try {
registry.addNewSessionRequest(this);
waitForSessionBound();
Expand Down

0 comments on commit 53448f4

Please sign in to comment.