-
Notifications
You must be signed in to change notification settings - Fork 696
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
cabal run
should send info logging to stderr not stdout
#7790
Comments
tbh i cant determine what is the relevant comment right now 😅 |
Note that Cabal already prints some of its warnings on stderr. As a result, we get logs split between both stderr and stdout, The output is someting like this (prefixes and blank lines added):
jneira:
Given that there is no way of separating the output of Cabal, GHC and the |
cabal run
prints stuff like "up to date" to stdout. So running an executable andcabal run
an executable give different output to stdout, which is no good when the executable is producing output for e.g. machine consumption. We should do our info logging to stderr.The text was updated successfully, but these errors were encountered: