summaryrefslogtreecommitdiff
path: root/etc/couchdb
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-05-12 19:36:15 +0000
committerJan Lehnardt <jan@apache.org>2009-05-12 19:36:15 +0000
commit7c76d131110e4641114e3066844e7195efb2f33b (patch)
treefc7e7f4af83b58adeb2b3eba11ad3876fc2a788d /etc/couchdb
parentb37ce2b377cff6c3e358adf4963ae6290942fae7 (diff)
Add non-streaming log-file handler. A GET request to /_log will show the last 1000 bytes of the logflie. More bytes can be requested with GET /_log?bytes=10000.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774045 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'etc/couchdb')
-rw-r--r--etc/couchdb/default.ini.tpl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index 337886e1..3caaf597 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -59,6 +59,7 @@ _replicate = {couch_httpd_misc_handlers, handle_replicate_req}
_uuids = {couch_httpd_misc_handlers, handle_uuids_req}
_restart = {couch_httpd_misc_handlers, handle_restart_req}
_stats = {couch_httpd_stats_handlers, handle_stats_req}
+_log = {couch_httpd_misc_handlers, handle_log_req}
[httpd_db_handlers]
_compact = {couch_httpd_db, handle_compact_req}