How to clear Cloud code log

3 posts, 0 answers
  1. eaxe
    eaxe avatar
    3 posts
    Member since:
    Aug 2013

    Posted 29 Aug 2013 Link to this post

    Cloud code log is increasing DB project size. Easy way to clear? Simular as query. /"delete from logs", "delete from [table]"/
  2. Ivan Pelovski
    Admin
    Ivan Pelovski avatar
    16 posts

    Posted 03 Sep 2013 Link to this post

    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.
  3. Ivan Pelovski
    Admin
    Ivan Pelovski avatar
    16 posts

    Posted 04 Sep 2013 Link to this post

    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.
Back to Top