Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new logger with log levels #435

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Merge branch 'main' into log-levels
  • Loading branch information
timokoessler committed Dec 20, 2024
commit 353af8e265638f489dcb1fa74ab9865ba544ea68
4 changes: 2 additions & 2 deletions end2end/tests/lambda-mongodb.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ t.before(async () => {

t.test("it does not block by default", async (t) => {
const { stdout, stderr } = await execAsync(
"npx --node-options='--no-deprecation --preserve-symlinks' --loglevel=error serverless@3.38.0 invoke local -e AIKIDO_LOG_LEVEL=error --function login --path payloads/nosql-injection-request.json",
"npx --node-options='--no-deprecation' --loglevel=error serverless@3.38.0 invoke local -e AIKIDO_LOG_LEVEL=error --function login --path payloads/nosql-injection-request.json",
{
cwd: directory,
}
Expand All @@ -39,7 +39,7 @@ t.test("it does not block by default", async (t) => {

t.test("it blocks when AIKIDO_BLOCKING is true", async (t) => {
const { stdout, stderr } = await execAsync(
"npx --node-options='--no-deprecation --preserve-symlinks' --loglevel=error serverless@3.38.0 invoke local -e AIKIDO_BLOCKING=true -e AIKIDO_LOG_LEVEL=error --function login --path payloads/nosql-injection-request.json",
"npx --node-options='--no-deprecation' --loglevel=error serverless@3.38.0 invoke local -e AIKIDO_BLOCKING=true -e AIKIDO_LOG_LEVEL=error --function login --path payloads/nosql-injection-request.json",
{
cwd: directory,
}
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.