Commit a45df223 authored by zhujiashun's avatar zhujiashun

remove unnecessary debug logs in rtmp

parent 8c82f342
......@@ -3537,7 +3537,6 @@ butil::Status
RtmpCreateStreamMessage::AppendAndDestroySelf(butil::IOBuf* out, Socket* s) {
std::unique_ptr<RtmpCreateStreamMessage> destroy_self(this);
if (s == NULL) { // abandoned
RPC_VLOG << "[DEBUG] Socket=NULL";
return butil::Status::OK();
}
// Serialize createStream command
......@@ -3597,8 +3596,6 @@ RtmpCreateStreamMessage::AppendAndDestroySelf(butil::IOBuf* out, Socket* s) {
socket->SetFailed(EINVAL, "Fail to serialize message");
return butil::Status(EINVAL, "Fail to serialize message");
}
RPC_VLOG << "[DEBUG] Succeed to call AppendAndDestroySelf, size=" << out->size()
<< " SocketId=" << s->id();
return butil::Status::OK();
}
......
......@@ -310,7 +310,6 @@ struct BAIDU_CACHELINE_ALIGNMENT Socket::WriteRequest {
if (msg) {
if (msg != DUMMY_USER_MESSAGE) {
butil::IOBuf dummy_buf;
RPC_VLOG << "reset_pipelined_count_and_user_message";
// We don't care about the return value since the request
// is already failed.
(void)msg->AppendAndDestroySelf(&dummy_buf, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment