From d9672df05fa5a5900963359432344ca15341b7e1 Mon Sep 17 00:00:00 2001 From: joehan Date: Tue, 15 Aug 2023 13:55:19 -0700 Subject: [PATCH] Revert "Hide confusing debug logs (#6220)" This reverts commit 9b6c1d81b9a7b46954f2f4d54418bdccceaa0e7f. --- CHANGELOG.md | 1 - src/deploy/functions/runtimes/node/index.ts | 2 +- src/deploy/functions/runtimes/python/index.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 371858c2b2c..0f20bea2ea4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,3 @@ - Increased functions emulator HTTPS body size limit to 32mb to match production. (#6201) - Fixed Astro web framework bug when loading configuration for version `2.9.7` and above. (#6213) - Increase Next.js config bundle timeout to 60 seconds. (#6214) -- Hides "shutdown requested via /\_\_/quitquitquit" log during functions deploy when `--debug` flag is not passed. (#6212) diff --git a/src/deploy/functions/runtimes/node/index.ts b/src/deploy/functions/runtimes/node/index.ts index 70b37516c79..a777f57080f 100644 --- a/src/deploy/functions/runtimes/node/index.ts +++ b/src/deploy/functions/runtimes/node/index.ts @@ -208,7 +208,7 @@ export class Delegate { stdio: [/* stdin=*/ "ignore", /* stdout=*/ "pipe", /* stderr=*/ "pipe"], }); childProcess.stdout?.on("data", (chunk: Buffer) => { - logger.debug(chunk.toString("utf8")); + logger.info(chunk.toString("utf8")); }); childProcess.stderr?.on("data", (chunk: Buffer) => { logger.error(chunk.toString("utf8")); diff --git a/src/deploy/functions/runtimes/python/index.ts b/src/deploy/functions/runtimes/python/index.ts index 84a6200e267..2dfbebbef93 100644 --- a/src/deploy/functions/runtimes/python/index.ts +++ b/src/deploy/functions/runtimes/python/index.ts @@ -151,7 +151,7 @@ export class Delegate implements runtimes.RuntimeDelegate { ); const childProcess = runWithVirtualEnv(args, this.sourceDir, envWithAdminPort); childProcess.stdout?.on("data", (chunk: Buffer) => { - logger.debug(chunk.toString("utf8")); + logger.info(chunk.toString("utf8")); }); childProcess.stderr?.on("data", (chunk: Buffer) => { logger.error(chunk.toString("utf8"));