i delete some sql section to raise this exception to test if the pyramid can log the request's client ip and the session when my script have some error.
在 2017年6月23日星期五 UTC+8下午12:50:46,Bert JW Regeer写道: > > waitress doesn’t execute sqlalchemy or have a separate thread for it, it > sends the request into your WSGI application. > > Somewhere your application is raising an exception. According to "缺失右括号” > that is a missing parentheses on a SQL statement. > > Bert > > > On Jun 22, 2017, at 19:38 , Guohuang Chen <[email protected] > <javascript:>> wrote: > > > > i think it is a waitress problem . the waitress thread execute the > sqlchemy does not have a request attr. is it? > > > > 在 2017年5月27日星期六 UTC+8上午11:04:05,Guohuang Chen写道: > > can i add something to the pyramid logging ? such as > session['login_name'] remote-ip ... > > > > -- > > You received this message because you are subscribed to the Google > Groups "pylons-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/4fa25eb2-68b3-4dea-88a7-5ad4d271add8%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/7af8340b-32b0-464d-ba30-5f79713f30f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
