-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[eas-cli] add --build-logger-level
flag to eas build
command
#2313
[eas-cli] add --build-logger-level
flag to eas build
command
#2313
Conversation
Size Change: +172 kB (0%) Total Size: 51.6 MB
|
/changelog-entry new-feature Add |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2313 +/- ##
==========================================
+ Coverage 53.65% 53.68% +0.04%
==========================================
Files 525 525
Lines 19167 19190 +23
Branches 4047 4054 +7
==========================================
+ Hits 10282 10301 +19
- Misses 8158 8162 +4
Partials 727 727 ☔ View full report in Codecov by Sentry. |
@@ -98,6 +100,10 @@ export default class Build extends EasCommand { | |||
char: 'm', | |||
description: 'A short message describing the build', | |||
}), | |||
'build-logger-level': Flags.enum({ | |||
description: 'The level of logs to output during the build process. Defaults to "info".', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we say what it defaults to, should we set the default here? This would also be nicer because we wouldn't need to handle undefined loggerLevel
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we set a default here, then every build will have job.loggerLevel
specified and then we won't be able to easily control the default logger level for all users server side by changing one const.
ba040c2
to
3f9339d
Compare
✅ Thank you for adding the changelog entry! |
Why
Companion to https://github.com/expo/universe/pull/14898, https://github.com/expo/turtle-v2/pull/1782 and expo/eas-build#375
We want to allow setting logger level on per build basis to make debugging easier.
How
Add a new
--build-logger-level
flag to theeas build
commandTest Plan
Test locally