for the ugly print vars I use:

import logging
logger=logging.getLogger('web2py.app.yourappname')
logger.setLevel(logging.DEBUG)

logger.debug(msg)

2013. február 26., kedd 21:12:23 UTC+1 időpontban José L. a következőt írta:
>
> Hello, 
> I'm working with async processes using the scheduler (with the 
> unvaluable help of the "learn by trial" application from Niphlod. 
>
> I wonder if there's an easy way to debug the processes that are being 
> executed in the background (I'm  having problems with them, they work 
> ok when run from web2py directly as a normal process, but not when 
> they're executed by the scheduler). 
> Pdb would be great, but if not, is there any way to use the ugly but 
> useful "print vars" commands to see the flow of execution of the 
> tasks? 
>
> I know of the output field in the scheduler_task table in the 
> database, but that's terribly slow.... 
>
> Regards. 
> José L. 
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to