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_r237826956
##########
File path: be/src/agent/pusher.cpp
##########
@@ -146,11 +146,11 @@ AgentStatus Pusher::_download_file() {
rate = (double) _push_req.http_file_size / cost / 1024;
}
if (status == DORIS_SUCCESS) {
- OLAP_LOG_INFO("down load file success. local_file=%s, remote_file=%s, "
- "tablet=%d, cost=%ld, file size: %ld B, download rate:
%f KB/s",
- _downloader_param.local_file_path.c_str(),
- _downloader_param.remote_file_path.c_str(),
- _push_req.tablet_id, cost, _push_req.http_file_size, rate);
+ LOG(INFO) << "down load file success. local_file=" <<
_downloader_param.local_file_path << ", "
+ << "remote_file=" << _downloader_param.remote_file_path <<
", "
+ << "tablet_id" << _push_req.tablet_id << ", "
Review comment:
```suggestion
<< ", tablet_id" << _push_req.tablet_id
```
----------------------------------------------------------------
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]