Dear wiki user,

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

The page "HttpGetLog" has been deleted by JoanTouzet:

https://wiki.apache.org/couchdb/HttpGetLog?action=diff&rev1=6&rev2=7

Comment:
migrated

- <<Include(EditTheWiki)>>
  
- = HTTP GET _log =
- 
- ||'''Method'''||<-2>GET||
- ||'''Path'''||<-2>/_log||
- ||'''Query args'''||bytes='''n'''||How many bytes to return from the tail of 
the log file''(optional, default '''1000''')''||
- || ||offset='''n'''||How many bytes to offset the returned tail of the log 
file ''(optional, default '''0''')''||
- ||'''Request body'''||<-2>None||
- ||'''Response body'''||<-2>Text from the couchdb log file||
- 
- == Description ==
- 
- 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.
- 
- == Example ==
- {{{
- GET /_log HTTP/1.1
- }}}{{{
- HTTP/1.1 200 OK
- 
- [Tue, 14 Sep 2010 00:28:28 GMT] [info] [<0.20318.14>] 127.0.0.1 - - 'GET' 
/_log 200
- 
- }}}
- 

Reply via email to