WHBANG commented on code in PR #1318:
URL: 
https://github.com/apache/incubator-pegasus/pull/1318#discussion_r1073284465


##########
src/replica/replica_2pc.cpp:
##########
@@ -524,10 +518,8 @@ void replica::on_append_log_completed(mutation_ptr &mu, 
error_code err, size_t s
     if (err == ERR_OK) {
         mu->set_logged();
     } else {
-        LOG_ERROR("%s: append shared log failed for mutation %s, err = %s",
-                  name(),
-                  mu->name(),
-                  err.to_string());
+        LOG_ERROR_PREFIX(
+            "append shared log failed for mutation {}, err = {}", mu->name(), 
err.to_string());

Review Comment:
   done



-- 
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: dev-unsubscr...@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pegasus.apache.org
For additional commands, e-mail: dev-h...@pegasus.apache.org

Reply via email to