Closed GoogleCodeExporter closed 8 years ago
I don't think this is the best way to handle this problem.
I like the --debug option to enable extra logging, however CouchDB has built in
functionality for view servers to send data to its logs. Additionally,
redirecting
standard error for the couchdb process (either from the startup script or
command
line) will cause view servers to redirect output as well.
The argument for using the log module over just printing the json log command to
couch would be that perhaps log.debug is implemented in native code in the
python
interpreter and would experience less overhead in the case of disabled
debugging over
an if statement. I may profile this or I may just use log. Should be quick fix.
Original comment by randall....@gmail.com
on 28 Feb 2009 at 4:54
I like this patch, makes it much easier to track down errors in the view
server, view function code, or even
CouchDB itself!
Original comment by cmlenz
on 1 Jul 2009 at 2:47
This issue was closed by r171.
Original comment by cmlenz
on 1 Jul 2009 at 2:50
And thanks for that patch, melkjug!
Original comment by cmlenz
on 1 Jul 2009 at 2:57
This issue was closed by revision 189b0205fa.
Original comment by djc.ochtman
on 3 Dec 2009 at 9:51
Original issue reported on code.google.com by
melk...@gmail.com
on 9 Feb 2009 at 4:42Attachments: