Re: How can I specify the log file for Pyramid ?

2011-06-24 Thread Chris Withers
On 17/06/2011 06:17, Chris McDonough wrote: I can start pyramid with uwsgi successfully now, and the logging info is written to the log file I specified path in the production.ini, but I found exceptions raised in view will be logged to the file which is specified by uwsgi not the one in producti

Re: How can I specify the log file for Pyramid ?

2011-06-16 Thread Chris McDonough
On Fri, 2011-06-17 at 08:57 +0800, Zhang Jiawei wrote: > Thanks Chris. > > And I have another question about logging. > I can start pyramid with uwsgi successfully now, and the logging info > is written to the log file I specified path in the production.ini, but > I found exceptions raised in vi

Re: How can I specify the log file for Pyramid ?

2011-06-16 Thread Zhang Jiawei
Thanks Chris. And I have another question about logging. I can start pyramid with uwsgi successfully now, and the logging info is written to the log file I specified path in the production.ini, but I found exceptions raised in view will be logged to the file which is specified by uwsgi not the on

Re: How can I specify the log file for Pyramid ?

2011-06-16 Thread Zhang Jiawei
And actually I hope all the stuffs go to uwsgi log file now, will go to the log file in production.ini I specified. Is this possible ? 2011/6/17 Zhang Jiawei > Thanks Chris. > > And I have another question about logging. > > I can start pyramid with uwsgi successfully now, and the logging info i

Re: How can I specify the log file for Pyramid ?

2011-06-16 Thread Chris McDonough
On Thu, 2011-06-16 at 09:06 +0800, Zhang Jiawei wrote: > I don't see anyway in documentation mentioned this, anyone can post a > url will be helpful. > > And maybe add this part to narrative documentation will be useful for > the fresh man. http://docs.pylonsproject.org/projects/pyramid/1.0/narr/