Skip to content

Commit

Permalink
Added some minor logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Jan 23, 2013
1 parent c04de5d commit 9cde475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Expand Up @@ -11,7 +11,6 @@
import javax.servlet.ServletContextListener;

import org.infinispan.schematic.document.ParsingException;
import org.modeshape.common.SystemFailureException;
import org.modeshape.common.collection.Problems;
import org.modeshape.common.i18n.TextI18n;
import org.modeshape.common.logging.Logger;
Expand Down
Expand Up @@ -47,8 +47,7 @@ public Response ingest(@PathParam("pid") final String pid)

final Session session = ws.getSession();
logger.debug("Working in repository: "
+ session.getRepository().getDescriptor(
Repository.REP_NAME_DESC));
+ session.getRepository().getDescriptor("custom.rep.name"));
logger.debug("Working in workspace: " + ws.getName());
final Node root = session.getRootNode();

Expand All @@ -73,10 +72,9 @@ public Response getObjectInXML(@PathParam("pid") final String pid)

final Session session = ws.getSession();
logger.debug("Working in repository: "
+ session.getRepository().getDescriptor(
"custom.rep.name"));
+ session.getRepository().getDescriptor("custom.rep.name"));
logger.debug("Working in workspace: " + ws.getName());

if (session.nodeExists("/" + pid)) {
final Node obj = session.getNode("/" + pid);
PropertyIterator i = obj.getProperties();
Expand Down

0 comments on commit 9cde475

Please sign in to comment.