You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Is it possible to log web2py output messages to a file when running web2py+nginx+uwsgi (installed with provided ubuntu script) ?
I need to view the messages that i see in console when running rocket server.
Thanks
Dave S
unread,
Jul 2, 2020, 1:19:21 AM7/2/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
The built-in logging works pretty good. Replace your print statements with logger.debug() or logger.error() ...The same formatted string you fed print works for the argument of logger.debug. Log files are in web2py/logs, and there's an autorotate feature to prevent logs from takng over your server.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
I have a system running Web2py + Nginx + ubuntu
(installed with provided ubuntu script) and all print statements are logged to the uwsgi log at /var/log/uwsgi