Access to the console Warning messages within a browser

13 views
Skip to first unread message

e27...@gmail.com

unread,
Jun 5, 2017, 9:07:17 AM6/5/17
to web2py-users


Does anyone know how to get access to the Warning messages, normally displayed on Web2py console, when we have only access Web2py via a browser on a distant machine ?

I would like to retrieve the warning messages explaining why email are not sent properly.

Thank you very much.

Thierry

Anthony

unread,
Jun 5, 2017, 9:39:36 AM6/5/17
to web2py-users
You can set up logging, as described here: http://web2py.com/books/default/chapter/29/04/the-core#Logging. If you copy /web2py/examples/logging.example.config to /web2py/logging.config and restart the server, you should get warnings logged to a /web2py/web2py.log file. You can, of course, customize logging to suit your needs.

Anthony
Reply all
Reply to author
Forward
0 new messages