You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/03 00:49:51 UTC
[jira] [Commented] (COUCHDB-1278) Add Apache httpd-style common log
access logging.
[ https://issues.apache.org/jira/browse/COUCHDB-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569923#comment-14569923 ]
ASF GitHub Bot commented on COUCHDB-1278:
-----------------------------------------
Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-couch/pull/57#issuecomment-108121847
-1 This change blocks the way to solve the following issues:
- https://issues.apache.org/jira/browse/COUCHDB-1278
- https://issues.apache.org/jira/browse/COUCHDB-1401
There was a hope that we could provide ability to customize logging format with lagger, but you're going to kill it right before the start.
> Add Apache httpd-style common log access logging.
> -------------------------------------------------
>
> Key: COUCHDB-1278
> URL: https://issues.apache.org/jira/browse/COUCHDB-1278
> Project: CouchDB
> Issue Type: New Feature
> Components: Logging
> Reporter: Jan Lehnardt
>
> This module introduces a new log file couch_access.log in the spirit of
> Apache httpd's access.log.
> The log format is specified here:
> http://en.wikipedia.org/wiki/Common_Log_Format
> The module defaults to the more commonly used `extended` format,
> but can be configured to use the standard log format as well.
> This is a new module rather than an extension to the couch_log
> module to allow easy addition. Ideally, this will be a plugin in the future.
> A note for chunked responses, the response body length reported is
> "chunked" rather than the number of bytes. The case is unspecified
> in the format description. Maybe the fix is keeping track of bytes
> sent in a chunked response, but I didn't want to make the first stab
> at this more complicated that it has to be. I'm happy to adjust.
> See the full diff here:
> https://github.com/janl/couchdb/commit/614091e49380b3afab3c34ff65e6d87623059b8b
> I'm not proposing this to be added to 1.1.x, but if anybody wants it, there's a patch here:
> https://github.com/janl/couchdb/commit/508af053257c074ec37c9bd658479cc21b8d20d4
> (The only difference is the specification of the couch_access_log module on startup, as that
> moved from couch_server_sup.erl to couch_primary_services.erl)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)