Skip to content

Commit

Permalink
Merge pull request #52 from rachit-lambdatest/master
Browse files Browse the repository at this point in the history
[IN-10234] Adding logLevel flag for node-tunnel
  • Loading branch information
Shahnawaz-Sk authored Feb 21, 2025
2 parents fa18cb0 + 97dc732 commit 6423faa
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
5 changes: 3 additions & 2 deletions lib/cfg/node-tunnel-config-v3-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
"AuthUrl": "https://accounts.lambdatest.com/api/user/token/auth",
"logEnable": true,
"latest": "4.0.8",
"latest": "4.0.9",
"supportedVersions":
[
"1.0.0",
Expand Down Expand Up @@ -121,6 +121,7 @@
"4.0.5",
"4.0.6",
"4.0.7",
"4.0.8"
"4.0.8",
"4.0.9"
]
}
7 changes: 7 additions & 0 deletions lib/tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,13 @@ function addArguments_(self, fnCallback) {
binaryArgs.push(value)
}
break;
case 'loglevel':
case 'log-level':
if (value) {
binaryArgs.push('--log-level');
binaryArgs.push(value)
}
break;
}
}
if (binaryArgs.indexOf('--controller') === -1) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lambdatest/node-tunnel",
"version": "4.0.8",
"version": "4.0.9",
"description": "Nodejs bindings for LambdaTest Tunnel",
"main": "index.js",
"files": [
Expand Down

0 comments on commit 6423faa

Please sign in to comment.