From 7a624158c4f3a0086a57e3cb6a6fe0aaeb756b89 Mon Sep 17 00:00:00 2001 From: Manas Jayanth <3097018+ManasJayanth@users.noreply.github.com> Date: Wed, 29 May 2024 11:49:28 +0530 Subject: [PATCH] Configure verdaccio to log only if it encounters errors --- src/lib/npm-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/npm-server.ts b/src/lib/npm-server.ts index 48af686..22b52e3 100644 --- a/src/lib/npm-server.ts +++ b/src/lib/npm-server.ts @@ -24,7 +24,7 @@ async function init( auth: { htpasswd: { file: Path.join(__dirname, "htpasswd") }, }, - logs: { type: "stdout", format: "json", level: "http" }, + logs: { type: "stdout", level: "error" }, uplinks: { npmjs: { url: "https://registry.npmjs.org/",