Hi,
I am not able to log events in tutorial PyAMF application using
WSGIGateway. I followed instructions of tutorial
http://pyamf.org/wiki/ModWSGIHowto. Then I tried to log with following
statement in a service method:
print >> environ['wsgi.errors'], "application debug #1"
as described in
http://code.google.com/p/modwsgi/wiki/DebuggingTechniques. Then I get
the following errors :
[8] " File "/var/www/devel/testapp/startup.py", line 18, in __init__
print >> environ['wsgi.errors'], "application debug #1"
[9] "NameError: global name 'environ' is not defined
--
H Özgür Batur
_______________________________________________
PyAMF users mailing list -
users@...
http://lists.pyamf.org/mailman/listinfo/users