lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

Add log() function to view server #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. place a call to log() inside python view code

What is the expected output? What do you see instead?
Expected: log output in the couchdb log.
Instead: Error output from the view server

Please use labels and text to provide additional information.

Possible Solution:
Inject a log() function into the locals dictionary when evaluating view code.

See http://wiki.apache.org/couchdb/ViewServer for what should be outputted
back to CouchDB by the log() function.

Original issue reported on code.google.com by randall....@gmail.com on 15 Jul 2008 at 3:55

GoogleCodeExporter commented 8 years ago
Implemented in r111.

Original comment by cmlenz on 16 Sep 2008 at 10:45

GoogleCodeExporter commented 8 years ago
after the switch from svn to hg, r111 links to the wrong commit.
i think it should be
rc6a9fa09ba09da8c46291c45eaecc26b017ee1af

Original comment by jabron...@gmail.com on 21 Jan 2010 at 3:46

GoogleCodeExporter commented 8 years ago
Yeah, none of those links probably work anymore.

Original comment by djc.ochtman on 21 Jan 2010 at 3:50