couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garrensmith <...@git.apache.org>
Subject couchdb pull request: logs can be sent as json
Date Thu, 08 Nov 2012 10:12:01 GMT
GitHub user garrensmith opened a pull request:

    https://github.com/apache/couchdb/pull/39

    logs can be sent as json

    If you request the couchdb logs (http://127.0.0.1:5984/_log). I want the option of getting
them returned in json format. This makes it much easier to work with the logs in javascript.
 
    
    `curl http://127.0.0.1:5984/_log?format=json` for JSON log output.
    
    I've added the format="json" q-value for when the request wants it to be formatted in
json. Hopefully there is a better way of doing this.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/garrensmith/couchdb json_logs

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb/pull/39.patch

----
commit d08fcb2dcaad41d2798c8f435e3fa944613f3f99
Author: Garren Smith <garren.smith@gmail.com>
Date:   2012-11-08T10:08:03Z

    logs can be sent as json

----


Mime
View raw message