This is a migrated thread and some comments may be shown as answers.

How to clear Cloud code log

2 Answers 41 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
eaxe
Top achievements
Rank 1
eaxe asked on 29 Aug 2013, 03:10 PM
Cloud code log is increasing DB project size. Easy way to clear? Simular as query. /"delete from logs", "delete from [table]"/

2 Answers, 1 is accepted

Sort by
0
Ivan Pelovski
Telerik team
answered on 03 Sep 2013, 09:03 AM
Hello,

Using the backend portal you can easily delete all items in a specific grid. Click the check box in the top of the grid to select all items. In the right you can see two buttons and a link "Select all items" - click on the link. Now if you click the "Delete" button you will delete all items in the log, not only the ones on the current page.

Regards,
Ivan Pelovski
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Ivan Pelovski
Telerik team
answered on 04 Sep 2013, 12:37 PM
Hello,

You can also delete the cloud server logs with an HTTP request. Make a DELETE request to the following endpoint: http://api.everlive.com/v1/Metadata/Applications/{APIKey}/ServerCodeLog with a master key authorization (i.e. pass a header "Authorization: masterkey {MasterKey}"). Because of the master key, you should not include this request in client applications, since a malicious user can obtain the key and use it to access and modify your Everlive app.

Regards,
Ivan Pelovski
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussion
Asked by
eaxe
Top achievements
Rank 1
Answers by
Ivan Pelovski
Telerik team
Share this question
or