Skip to content

Commit 09d74ca

Browse files
authored
Merge pull request #2470 from murgatroid99/grpc-js_transport_trace_fix
grpc-js: Implement trace function in Http2SubchannelConnector
2 parents 25e2845 + 87b5466 commit 09d74ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/grpc-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/grpc-js",
3-
"version": "1.8.15",
3+
"version": "1.8.16",
44
"description": "gRPC Library for Node - pure JS implementation",
55
"homepage": "https://grpc.io/",
66
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",

packages/grpc-js/src/transport.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
485485
private isShutdown = false;
486486
constructor(private channelTarget: GrpcUri) {}
487487
private trace(text: string) {
488-
488+
logging.trace(LogVerbosity.DEBUG, TRACER_NAME, this.channelTarget + ' ' + text);
489489
}
490490
private createSession(address: SubchannelAddress, credentials: ChannelCredentials, options: ChannelOptions, proxyConnectionResult: ProxyConnectionResult): Promise<Http2Transport> {
491491
if (this.isShutdown) {

0 commit comments

Comments
 (0)