From ae42bbb20541f8eee31bf0975d2e68f9b389014d Mon Sep 17 00:00:00 2001 From: Nick Phura Date: Mon, 12 Feb 2024 11:50:05 -0800 Subject: [PATCH] Reduce logging in dev/test --- api/.pipeline/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/.pipeline/config.js b/api/.pipeline/config.js index 677ebcfa..8cbe35c6 100644 --- a/api/.pipeline/config.js +++ b/api/.pipeline/config.js @@ -87,7 +87,7 @@ const phases = { s3KeyPrefix: (isStaticDeployment && 'biohub') || `local/${deployChangeId}/biohub`, tz: config.timezone.api, sso: config.sso.dev, - logLevel: 'debug', + logLevel: (isStaticDeployment && 'info') || 'debug', nodeOptions: '--max_old_space_size=1500', // 75% of memoryLimit (bytes) cpuRequest: '50m', cpuLimit: '500m', @@ -145,7 +145,7 @@ const phases = { s3KeyPrefix: 'biohub', tz: config.timezone.api, sso: config.sso.prod, - logLevel: 'info', + logLevel: 'warn', nodeOptions: '--max_old_space_size=1500', // 75% of memoryLimit (bytes) cpuRequest: '50m', cpuLimit: '1000m',