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
Dario
Darioโ€ข2mo ago
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 ๐Ÿคฃ ๐Ÿ˜ญ
Dario
Darioโ€ข2mo ago
No description
Hello, Iโ€™m Allie!
When your Logs folder is bigger than your target directory
Avi
AviOPโ€ข2mo ago
GitHub
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...
Dario
Darioโ€ข2mo ago
Awesome, thanks @Avi ๐Ÿ˜„

Did you find this page helpful?