how can I disable wrangler's automatic
how can I disable wrangler's automatic log-to-disk feature? it's using 20GB, that's absolutely unacceptable
5 Replies
no... I don't think there's a way to do disabling it right now... but this definitely doesn't seem really acceptable to me, @Avi could you create an issue for this in workers-sdk and ping me there so that I can look into it when I have some spare cycles? ๐
Also I am wondering wether we should have an option to disabling the logs saving, or maybe simply do a background cleanup ๐ค
e.g. We can check all the files in the logs directory and we can delete from there all the files that are older than a week or something
That should also solve the issue right? ๐ค
PS: you're in good company, I just checked and I also have almost 20GB of logs ๐คฃ ๐ญ

When your Logs folder is bigger than your
target
directoryGitHub
wrangler uses unbounded disk space for logs, no flag to disable ยท ...
What versions & operating system are you using? latest Please provide a link to a minimal reproduction No response Describe the Bug what it says on the tin. WRANGLER_LOG controls both writing l...
Awesome, thanks @Avi ๐