Skip to content

Commit

Permalink
Improving representation of session info in server logs
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Feb 9, 2018
1 parent 78bece3 commit ba67659
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ public ServicedSession(
new JMXHelper().register(this);
}

@Override
public String toString() {
return getId().toString() + " (" + service.getClass().getName() + ")";
}

@Override
public void stop() {
// Try and kill the running session. Both W3C and OSS use the same quit endpoint
Expand Down

0 comments on commit ba67659

Please sign in to comment.