imay commented on a change in pull request #370: Remove OLAP_LOG_INFO log 
format. Use LOG(INFO) instead
URL: https://github.com/apache/incubator-doris/pull/370#discussion_r237827018
 
 

 ##########
 File path: be/src/olap/base_compaction.cpp
 ##########
 @@ -83,10 +83,9 @@ OLAPStatus BaseCompaction::init(OLAPTablePtr table, bool 
is_manual_trigger) {
 }
 
 OLAPStatus BaseCompaction::run() {
-    OLAP_LOG_INFO("start base compaction. [table=%s; old_base_version=%d; 
new_base_version=%d]",
-                  _table->full_name().c_str(),
-                  _old_base_version.second,
-                  _new_base_version.second);
+    LOG(INFO) << "start base compaction. tablet=" << _table->full_name() << ", 
"
+              << "old_base_version=" << _old_base_version.second << ", "
 
 Review comment:
   ```suggestion
                 << ", old_base_version=" << _old_base_version.second 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to