just revised some logs
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100470 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f19760a610
commit
8f002ec254
|
@ -1811,7 +1811,7 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
_log.error("Hashtag Number found is not a number: " + newCount);
|
_log.error("Hashtag Number found is not a number: " + newCount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_log.info("Updating counter for " + hashtag + " to " + newCount);
|
_log.debug("Updating counter for " + hashtag + " to " + newCount);
|
||||||
MutationBatch m = conn.getKeyspace().prepareMutationBatch();
|
MutationBatch m = conn.getKeyspace().prepareMutationBatch();
|
||||||
m.withRow(cf_HashtagsCounter, vreid).putColumn(hashtag, ""+newCount, null);
|
m.withRow(cf_HashtagsCounter, vreid).putColumn(hashtag, ""+newCount, null);
|
||||||
try {
|
try {
|
||||||
|
@ -1820,7 +1820,7 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
_log.error("Hashtag Count update NOT OK ");
|
_log.error("Hashtag Count update NOT OK ");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
_log.info("Hashtag Count update OK to: " + newCount);
|
_log.debug("Hashtag Count update OK to: " + newCount);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue