couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "ViewServer" by RyszardSzopa
Date Sun, 22 Jun 2008 23:00:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by RyszardSzopa:
http://wiki.apache.org/couchdb/ViewServer

The comment on the change is:
log documentation

------------------------------------------------------------------------------
  
  === rereduce ===
  
+ === log ===
+ 
+ At any time, the view-server may send some information that will be saved in CouchDB's log
file. This is done by sending a special object with just one field, {{{log}}}, on a separate
line.
+ 
+ The view-server sends
+ {{{
+ {"log":"A kuku!"}
+ }}}
+ 
+ CouchDB answers nothing.
+ 
+ The following line will appear in {{{couch.log}}}, mutatis mutandum:
+ {{{
+ [Sun, 22 Jun 2008 22:51:25 GMT] [info] [<0.72.0>] Query Server Log Message: A kuku!
+ }}}
+ 
+ If you use the JavaScript view-server, you achieve this effect by calling the function {{{log}}}.
To do the same thing in ClCouch, call {{{logit}}}.
+ 
  == Implementations ==
  
    * [http://svn.apache.org/repos/asf/incubator/couchdb/trunk/share/server/main.js JavaScript]
(CouchDB native)

Mime
View raw message