Skip to content

Commit 9b6c1d8

Browse files
authored
Hide confusing debug logs (#6220)
1 parent 85842c3 commit 9b6c1d8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- Increased functions emulator HTTPS body size limit to 32mb to match production. (#6201)
22
- Fixed Astro web framework bug when loading configuration for version `2.9.7` and above. (#6213)
33
- Increase Next.js config bundle timeout to 60 seconds. (#6214)
4+
- Hides "shutdown requested via /\_\_/quitquitquit" log during functions deploy when `--debug` flag is not passed. (#6212)

src/deploy/functions/runtimes/node/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class Delegate {
208208
stdio: [/* stdin=*/ "ignore", /* stdout=*/ "pipe", /* stderr=*/ "pipe"],
209209
});
210210
childProcess.stdout?.on("data", (chunk: Buffer) => {
211-
logger.info(chunk.toString("utf8"));
211+
logger.debug(chunk.toString("utf8"));
212212
});
213213
childProcess.stderr?.on("data", (chunk: Buffer) => {
214214
logger.error(chunk.toString("utf8"));

src/deploy/functions/runtimes/python/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class Delegate implements runtimes.RuntimeDelegate {
151151
);
152152
const childProcess = runWithVirtualEnv(args, this.sourceDir, envWithAdminPort);
153153
childProcess.stdout?.on("data", (chunk: Buffer) => {
154-
logger.info(chunk.toString("utf8"));
154+
logger.debug(chunk.toString("utf8"));
155155
});
156156
childProcess.stderr?.on("data", (chunk: Buffer) => {
157157
logger.error(chunk.toString("utf8"));

0 commit comments

Comments
 (0)