-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Put error logs in cache folder #2719
Comments
Hi, can I try working on this? |
@Daniel15 Do you have a suggestion regarding simulating errors in tests that would invoke a log file? Couldn't find anything in the current tests |
Sure :)
Not sure, sorry. You might need to look around the code a bit. Maybe see if there's any existing tests for the log files? |
Thanks for the quick reply. I'll try digging in. So far, no tests related to log files that I could find. |
Cache folder does not seem like the best place to store error log. |
I don't think this is worth spending time on so closing. If there is anyone with a concrete suggestion other than placing this file in the cache directory, please file a new issue with as much detail as possible or even better, propose an RFC: https://github.com/yarnpkg/rfcs |
Do you want to request a feature or report a bug?
feature
What is the current behavior?
Yarn will store
yarn-error.log
in the current directory.What is the expected behavior?
In npm v4.2.0,
npm-debug.log
is no longer placed in the current directory, but in the(npm config get cache)/_logs
directory. I suggest yarn do something similar with the error logs.The text was updated successfully, but these errors were encountered: