Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clean logs in Google App Engine

I made a stress test on Google App Engine and now: Logs Stored Data says 82.77 GBytes

How can I clean up the logs from that specific version? I tried to download with bash script but they remain. Is there a way to configure that I don't want to store logs more than the free quota?

=============================================================================== UPDATE: the amount of money doesn't count in the daily cost .. Probably it's there just as an information ..

like image 221
Michele Orsi Avatar asked Jun 13 '12 16:06

Michele Orsi


People also ask

How do I view Stackdriver logs?

Accessing Logs Explorer The Google Stackdriver Logging tab opens. Or, you can open the Logs Explorer for a specific project from Google Cloud Explorer by selecting Tools -> Google Cloud Tools -> Google Cloud Explorer. Right click the project and select Browse Stackdriver Logs.

How do I clear Google App Engine?

In the Google Cloud console, go to the Manage resources page. In the project list, select the project that you want to delete, and then click Delete. In the dialog, type the project ID, and then click Shut down to delete the project.


1 Answers

Currently there is no way to delete logs for a specific version. But what you can do is to change the log retention to 0 days in the Applications Settings. That will remove your logs. Then you can change the log retention to the desired value.

like image 176
Sebastian Kreft Avatar answered Oct 03 '22 19:10

Sebastian Kreft