-
Notifications
You must be signed in to change notification settings - Fork 604
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
[rush] --debug-package-manager not writting pnpm output to a log file #1208
Comments
This comment is incorrect. The log is output to the console. To create the file on disk, you need to do something like this: $ rush install --debug-package-manager > my-file.log We should probably fix the source code comment, but the command-line help is correct:
I just tried it in the web-build-tools repo and it seems to be working fine. |
Yeah, the problem is just that the logs also contain rush install logs which arent in the json format, meaning you have to manually clean up the file first. It's just a minor inconvenience, so it's ok to wont fix this |
@christiango The behavior described in the code comment is actually the original intended design. As I recall we ended up cutting that part because it was taking too long and @nickpape-msft had other higher priorities. We could go back and implement it now. Or at the very least we should correct the code comment to describe the actual behavior. Let's keep this issue open until one or the other is fixed. |
We're investigating some regressions in npm install time, which involved working with the output of the
ndjson
reporter in pnpm. Rush suggests to pipe the output of rush install --debug-package-manager to an output file, however, that file will contain a mix of rush output and pnpm output. This meant that feeding this data to a parsing program would first involve manually stripping out the rush format to just get the output of the verbose pnpm reporter.When diving deeper, I ran into this comment in install manager
But I am not seeing an pnpm.log file being written as a result of rush install --debug-package-manager.
The text was updated successfully, but these errors were encountered: