mirror of https://github.com/grpc/grpc-node.git
Removed extraneous log messages
This commit is contained in:
parent
5bcc358e53
commit
c1ec85fc43
|
@ -98,9 +98,6 @@ bool CreateMetadataArray(
|
|||
string_handles->push_back(unique_ptr<NanUtf8String>(utf8_key));
|
||||
Handle<Array> values = Local<Array>::Cast(metadata->Get(current_key));
|
||||
for (unsigned int j = 0; j < values->Length(); j++) {
|
||||
if (array->count >= array->capacity) {
|
||||
gpr_log(GPR_ERROR, "Metadata array grew past capacity");
|
||||
}
|
||||
Handle<Value> value = values->Get(j);
|
||||
grpc_metadata *current = &array->metadata[array->count];
|
||||
current->key = **utf8_key;
|
||||
|
@ -447,11 +444,9 @@ void DestroyTag(void *tag) {
|
|||
}
|
||||
|
||||
Call::Call(grpc_call *call) : wrapped_call(call) {
|
||||
gpr_log(GPR_DEBUG, "Constructing call, this: %p, pointer: %p", this, call);
|
||||
}
|
||||
|
||||
Call::~Call() {
|
||||
gpr_log(GPR_DEBUG, "Destructing call, this: %p, pointer: %p", this, wrapped_call);
|
||||
grpc_call_destroy(wrapped_call);
|
||||
}
|
||||
|
||||
|
@ -483,7 +478,6 @@ Handle<Value> Call::WrapStruct(grpc_call *call) {
|
|||
if (call == NULL) {
|
||||
return NanEscapeScope(NanNull());
|
||||
}
|
||||
gpr_log(GPR_DEBUG, "Wrapping call: %p", call);
|
||||
const int argc = 1;
|
||||
Handle<Value> argv[argc] = {External::New(reinterpret_cast<void *>(call))};
|
||||
return NanEscapeScope(constructor->NewInstance(argc, argv));
|
||||
|
|
|
@ -58,7 +58,6 @@ CompletionQueueAsyncWorker::~CompletionQueueAsyncWorker() {}
|
|||
|
||||
void CompletionQueueAsyncWorker::Execute() {
|
||||
result = grpc_completion_queue_next(queue, gpr_inf_future);
|
||||
gpr_log(GPR_DEBUG, "Handling response on call %p", result->call);
|
||||
if (result->data.op_complete != GRPC_OP_OK) {
|
||||
SetErrorMessage("The batch encountered an error");
|
||||
}
|
||||
|
@ -79,7 +78,6 @@ void CompletionQueueAsyncWorker::Init(Handle<Object> exports) {
|
|||
|
||||
void CompletionQueueAsyncWorker::HandleOKCallback() {
|
||||
NanScope();
|
||||
gpr_log(GPR_DEBUG, "Handling response on call %p", result->call);
|
||||
NanCallback *callback = GetTagCallback(result->tag);
|
||||
Handle<Value> argv[] = {NanNull(), GetTagNodeValue(result->tag)};
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ Credentials::Credentials(grpc_credentials *credentials)
|
|||
: wrapped_credentials(credentials) {}
|
||||
|
||||
Credentials::~Credentials() {
|
||||
gpr_log(GPR_DEBUG, "Destroying credentials object");
|
||||
grpc_credentials_release(wrapped_credentials);
|
||||
}
|
||||
|
||||
|
|
|
@ -91,7 +91,6 @@ class NewCallOp : public Op {
|
|||
return NanEscapeScope(NanNull());
|
||||
}
|
||||
Handle<Object> obj = NanNew<Object>();
|
||||
gpr_log(GPR_DEBUG, "Wrapping server call: %p", call);
|
||||
obj->Set(NanNew("call"), Call::WrapStruct(call));
|
||||
obj->Set(NanNew("method"), NanNew(details.method));
|
||||
obj->Set(NanNew("host"), NanNew(details.host));
|
||||
|
|
|
@ -63,7 +63,6 @@ ServerCredentials::ServerCredentials(grpc_server_credentials *credentials)
|
|||
: wrapped_credentials(credentials) {}
|
||||
|
||||
ServerCredentials::~ServerCredentials() {
|
||||
gpr_log(GPR_DEBUG, "Destroying server credentials object");
|
||||
grpc_server_credentials_release(wrapped_credentials);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue