-
Notifications
You must be signed in to change notification settings - Fork 12k
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
logger.info() messages should not be sent to stderr #16940
Comments
Progress, diagnostic and status messages should be written to stderr. stdout should only be used for logs intended to be piped to another command. //cc @clydin as he definitely has more stronger arguments why it should be stderr. |
Most likely we should offer a way to silence these, maybe hide the logs when using the Related to #16899 |
Is |
@clydin - Thank you! Upgrading
|
Good to hear. Since the issue appears to be resolved, I'm going to close. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No
Description
logger.info() statements from ngcc are sent to stderr causing the informational messages to be displayed (in red) as ERRORs under a maven build. Please see the rejected PR at angular/angular#35310 which documents the incorrect behavior. The ngcc team believes this should be fixed in the cli.
🔬 Minimal Reproduction
In maven's pom.xml:
In package.json:
🔥 Exception or Error
Output from maven build:
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: