Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Tidy up logging
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed May 29, 2012
1 parent 2d4e5ac commit c69a902
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Expand Up @@ -152,6 +152,7 @@ public boolean removeEditorClient(EditorClientId editorClientId)
PersonSessionDetails details = sessions.remove(editorClientId);
if (details != null)
{
// TODO remove editorClientId from httpSessionToEditorClientId, instead of waiting until logout
log.info("Removed user {0} with editorClientId {1} from workspace {2}", details.getPerson().getId(), editorClientId, workspaceContext);
return true;
}
Expand Down
Expand Up @@ -79,7 +79,6 @@ public ActivateWorkspaceResult execute(ActivateWorkspaceAction action, Execution
String httpSessionId = ServletContexts.instance().getRequest().getSession().getId();
EditorClientId editorClientId = new EditorClientId(httpSessionId + ":" + generateEditorClientNum());
workspace.addEditorClient(httpSessionId, editorClientId, person.getId());
log.info("Added user {} with editorClientId {} to workspace {}", new Object[] { person.getId(), editorClientId, workspaceId });
// Send EnterWorkspace event to clients
EnterWorkspace event = new EnterWorkspace(editorClientId, person);
workspace.publish(event);
Expand Down

0 comments on commit c69a902

Please sign in to comment.