Project

General

Profile

« Previous | Next » 

Revision 7082

Some minor logging changes.

View differences:

MNodeService.java
378 378
            logMetacat.info("MNodeService.replicate() called with parameters: \n" +
379 379
                            "\tSession.Subject      = "                           +
380 380
                            session.getSubject().getValue() + "\n"                +
381
                            "\tSystemMetadata       = " + sysmeta.toString()      +
381
                            "\tidentifier           = "                           + 
382
                            sysmeta.getIdentifier().getValue()                    +
382 383
                            "\n" + "\tSource NodeReference ="                     +
383 384
                            sourceNode.getValue());
384 385
        }
......
402 403
        // TODO: check credentials
403 404
        // cannot be called by public
404 405
        if (session == null || session.getSubject() == null) {
405
            String msg = "No session was provided.";
406
            String msg = "No session was provided to replicate identifier " +
407
            sysmeta.getIdentifier().getValue();
406 408
            failure = new NotAuthorized("2152", msg);
407 409
            setReplicationStatus(thisNodeSession, pid, nodeId, ReplicationStatus.FAILED, failure);
408 410
            logMetacat.info(msg);
......
455 457
                // session should be null to use the default certificate
456 458
                // location set in the Certificate manager
457 459
                object = mn.getReplica(thisNodeSession, pid);
458
                logMetacat.info("MNodeService.replicate() called for identifier "
460
                logMetacat.info("MNodeService.getReplica() called for identifier "
459 461
                                + pid.getValue());
460 462

  
461 463
            }

Also available in: Unified diff