Skip to content

Commit

Permalink
grpc-js: Make GRPC_VERBOSITY accept lower-case values
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed May 6, 2021
1 parent d82b1a3 commit cc0c8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js/src/logging.ts
Expand Up @@ -22,7 +22,7 @@ let _logVerbosity: LogVerbosity = LogVerbosity.ERROR;

const verbosityString = process.env.GRPC_NODE_VERBOSITY ?? process.env.GRPC_VERBOSITY ?? '';

switch (verbosityString) {
switch (verbosityString.toUpperCase()) {
case 'DEBUG':
_logVerbosity = LogVerbosity.DEBUG;
break;
Expand Down

0 comments on commit cc0c8de

Please sign in to comment.