Beautify log

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4190 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hermens 17 years ago
parent 35cf196204
commit 5c5344ae97

@ -324,13 +324,13 @@ public class yacyCore {
// update last seed date // update last seed date
if (newSeed.getLastSeenUTC() >= this.seed.getLastSeenUTC()) { if (newSeed.getLastSeenUTC() >= this.seed.getLastSeenUTC()) {
log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) + log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) +
" peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + "with old LastSeen: '" + " peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + " with old LastSeen: '" +
serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "'"); serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "'");
newSeed.setLastSeenUTC(); newSeed.setLastSeenUTC();
peerActions.peerArrival(newSeed, true); peerActions.peerArrival(newSeed, true);
} else { } else {
log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) + log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) +
" peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + "with old LastSeen: '" + " peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + " with old LastSeen: '" +
serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "', this is more recent: '" + serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "', this is more recent: '" +
serverDate.shortSecondTime(new Date(this.seed.getLastSeenUTC())) + "'"); serverDate.shortSecondTime(new Date(this.seed.getLastSeenUTC())) + "'");
this.seed.setLastSeenUTC(); this.seed.setLastSeenUTC();

Loading…
Cancel
Save