1. session.forget()
2. what logs ? web2py uses the standard logging system 
web2py.com/books/default/chapter/29/04#Logging
3. no way to avoid the exception ticket generated (except wrapping all your 
code in try:except), but you can avoid it to be written on the disk and 
instead write it into the db with request.tickets_db = db

That said, tickets are more useful than logs if seeking for errors because 
they save a lot of informations that can help you to debug your code: I 
don't get the part "I don't have the admin app remotely, so tickets are 
unuseful". You can download the ticket (files or table) and load them on 
the admin app on your dev machine and see what has gone wrong with your 
heroku app way better then inspecting logs on heroku.

-- 



Reply via email to