From fdb167df344516d376b395242e5300b64fff8d5c Mon Sep 17 00:00:00 2001 From: Will Schurman Date: Mon, 11 Nov 2024 10:46:08 -0800 Subject: [PATCH] [build] Default build-logger-level to debug when EXPO_DEBUG is set (#2676) --- CHANGELOG.md | 1 + packages/eas-cli/src/build/runBuildAndSubmit.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a0bbca2b5..d2a4d4effe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This is the log of notable changes to EAS CLI and related packages. ### 🎉 New features - Add EAS_SKIP_AUTO_FINGERPRINT to skip fingerprint computation on build ([#2675](https://github.com/expo/eas-cli/pull/2675) by [@quinlanj](https://github.com/quinlanj)) +- Default build-logger-level to debug when EXPO_DEBUG is set. ([#2676](https://github.com/expo/eas-cli/pull/2676) by [@wschurman](https://github.com/wschurman)) ### 🐛 Bug fixes diff --git a/packages/eas-cli/src/build/runBuildAndSubmit.ts b/packages/eas-cli/src/build/runBuildAndSubmit.ts index 669e4369fb..ba7e912c9e 100644 --- a/packages/eas-cli/src/build/runBuildAndSubmit.ts +++ b/packages/eas-cli/src/build/runBuildAndSubmit.ts @@ -381,7 +381,7 @@ async function prepareAndStartBuildAsync({ vcsClient, getDynamicPrivateProjectConfigAsync, customBuildConfigMetadata, - buildLoggerLevel: flags.buildLoggerLevel, + buildLoggerLevel: flags.buildLoggerLevel ?? (Log.isDebug ? LoggerLevel.DEBUG : undefined), freezeCredentials: flags.freezeCredentials, repack: flags.repack, env,