You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by wohali <gi...@git.apache.org> on 2016/08/02 19:28:56 UTC
[GitHub] couchdb pull request #435: Change default to log to a file, not stderr
GitHub user wohali opened a pull request:
https://github.com/apache/couchdb/pull/435
Change default to log to a file, not stderr
Presently our default is to log only to stderr. This is both a deviation
from couchdb 1.x behaviour as well as unexpected for a service of
couchdb's stature. This PR defaults output in the 'make release' to
./var/log/couchdb.log.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb log-file-by-default
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/435.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #435
----
commit 46824041c4d0fdfe6917e0819d26eef2ae2846e8
Author: Joan Touzet <wo...@atypical.net>
Date: 2016-08-02T19:25:48Z
Change default to log to a file, not stderr
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb pull request #435: Change default to log to a file, not stderr
Posted by wohali <gi...@git.apache.org>.
Github user wohali closed the pull request at:
https://github.com/apache/couchdb/pull/435
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb issue #435: Change default to log to a file, not stderr
Posted by wohali <gi...@git.apache.org>.
Github user wohali commented on the issue:
https://github.com/apache/couchdb/pull/435
I agree with @kxepal 's suggestion here. Closing this PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb issue #435: Change default to log to a file, not stderr
Posted by wohali <gi...@git.apache.org>.
Github user wohali commented on the issue:
https://github.com/apache/couchdb/pull/435
I have since learned that it is increasingly common for services like systemd to gather and manage log files on its own. As such this change may be unpopular given modern trends in UNIX. I'm hoping to gather more feedback on the approach before making a merge/no-merge decision here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb issue #435: Change default to log to a file, not stderr
Posted by kxepal <gi...@git.apache.org>.
Github user kxepal commented on the issue:
https://github.com/apache/couchdb/pull/435
Why not to keep default stderr, while allow to provide a path to logfile on configure? This will satisfy both groups needs.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---