We have a new wiki. The migration is not 100% complete. You can help out by moving pages across. This wiki will exist for as long as there are pages left.

The official documentation has moved to http://docs.couchdb.org — The transition is not 100% complete, but http://docs.couchdb.org should be seen as having the latest info. In some cases, the wiki still has some more or older info on certain topics inside CouchDB.

You need to be added to the ContributorsGroup to edit the wiki. But don't worry! Just email any Mailing List or grab us on IRC and let us know your user name.






Query args


How many bytes to return from the tail of the log file(optional, default 1000)


How many bytes to offset the returned tail of the log file (optional, default 0)

Request body


Response body

Text from the couchdb log file


Returns the tail of the server's log file. The bytes argument controls how many bytes to return from the end of the log file. As of 1.0.1, the offset argument is broken and does nothing useful. Also, since the log file is constantly appended to, the offset argument is not useful in attempting to iterate through the entire log file in chunks.

This method requires server admin privileges.


GET /_log HTTP/1.1

HTTP/1.1 200 OK

[Tue, 14 Sep 2010 00:28:28 GMT] [info] [<0.20318.14>] - - 'GET' /_log 200

HttpGetLog (last edited 2011-11-23 15:02:49 by 62)