seagle-yuan commented on code in PR #1847:
URL:
https://github.com/apache/incubator-hugegraph/pull/1847#discussion_r858770778
##########
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBStdSessions.java:
##########
@@ -1058,14 +1059,14 @@ private boolean match(int expected) {
@SuppressWarnings("unused")
private void dump() {
this.seek();
- System.out.println(">>>> scan from " + this.table + ": " +
- (this.keyBegin == null ? "*" :
- StringEncoding.format(this.keyBegin)) +
- (this.iter.isValid() ? "" : " - No data"));
+ LOG.info(">>>> scan from " + this.table + ": " +
+ (this.keyBegin == null ? "*" :
+ StringEncoding.format(this.keyBegin)) +
+ (this.iter.isValid() ? "" : " - No data"));
for (; this.iter.isValid(); this.iter.next()) {
- System.out.println(String.format("%s=%s",
- StringEncoding.format(this.iter.key()),
- StringEncoding.format(this.iter.value())));
+ LOG.info(String.format("%s=%s",
Review Comment:
Would you remove "String.format"
such as
https://github.com/apache/incubator-hugegraph/pull/1838#discussion_r855050621
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]