-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/go/internal/cache: remove $GOCACHE/log.txt #25323
Comments
CC @rsc |
I can confirm the possibility of a large file - I ran into one being 12 gigs and stretching back 4 months. This could be addressed either in the |
Change https://golang.org/cl/150797 mentions this issue: |
Mine is 451M, while the rest of the cache is 20M. I think we should limit its size automatically, not only when a specific "go clean" command is run. |
It's pretty late to add new command line flags to cmd/go. Bumping to Go 1.13. |
We added this file in order to help evaluate the automatic cache expiry policy. It was important for that purpose that go clean not delete it. But I think we're quite happy with the automatic cache expiry policy - certainly no one has complained - so I think we can just stop writing the file and also delete it during go clean -cache. But for Go 1.13, not Go 1.12. Thanks. |
Change https://golang.org/cl/167741 mentions this issue: |
In my $GOCACHE, file size of my log.txt is 5.7MB. Current implementation doesn't take care the size of log.txt. Some environment possibly have more large log file. How about to add a way to remove or rotating log file?
The text was updated successfully, but these errors were encountered: