diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-26 14:04:43 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-26 14:24:50 -0400 |
commit | 51b54e80778420e9d49bd174d89afdc2a1130b12 (patch) | |
tree | 96ef4be72ba6f72492371a2300d5a07fa4f9aa33 /apps | |
parent | f16942a4d85ec81ed7fbac8c83fabe782cdaad89 (diff) |
log to var/log/dbcore.log by default
Diffstat (limited to 'apps')
-rw-r--r-- | apps/couch/src/couch_primary_sup.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/couch/src/couch_primary_sup.erl b/apps/couch/src/couch_primary_sup.erl index e822b70a..2aff86ef 100644 --- a/apps/couch/src/couch_primary_sup.erl +++ b/apps/couch/src/couch_primary_sup.erl @@ -36,7 +36,13 @@ init([]) -> permanent, infinity, supervisor, - [couch_rep_sup]} + [couch_rep_sup]}, + {couch_log, + {couch_log, start_link, []}, + permanent, + brutal_kill, + worker, + [couch_log]} ], {ok, {{one_for_one, 10, 3600}, Children}}. |