[web2py] Re: Web2py + Nginx - Logging

2020-07-02 Thread icodk
 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


On Thursday, July 2, 2020 at 7:19:21 AM UTC+2 snide...@gmail.com wrote:

>
>
> On Wednesday, July 1, 2020 at 2:51:32 PM UTC-7, Luciano Bovio wrote:
>>
>> 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
>>
>
>
> 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.
>
> http://web2py.com/books/default/chapter/29/04/the-core#Logging>
>
> (I'm running nginx+uwsgi on AWS linux)
>
> /dps
>  
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/80a89819-2336-4757-8134-d8b67e284bd8n%40googlegroups.com.


[web2py] Re: many users logged in, at the same time.

2020-07-02 Thread Wep2buy
 pls, have a look 

https://www.youtube.com/watch?v=DSL1GO3c6oI=631s 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/41bfc375-ead4-42f3-8aa8-01e778f74cf4o%40googlegroups.com.