On 19 Dec 2007, at 23:32, Tzury Bar Yochay wrote: > is that means we will get back the print to behave as 'normal' stdout > - thus printing to the console (for debugging)?
You should call web.debug() for debugging. Printing to stdout will work if you're running it with the built-in CherryPy HTTP server, but that won't work on mod_wsgi, fastcgi, etc. If you use web.debug(), then it should always be printed to the server log, whether that's the console or some Apache log file or whatever else. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
