[
https://issues.apache.org/jira/browse/COUCHDB-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974844#comment-13974844
]
ASF GitHub Bot commented on COUCHDB-2136:
-----------------------------------------
GitHub user robertkowalski opened a pull request:
https://github.com/apache/couchdb/pull/214
Group log messages by date - COUCHDB-2136
Introduce a heading for each day in the logs and remove the day
from each column.
Closes COUCHDB-2136
I also tested to hack the logic into the view, which would be around 20ms
faster, but it wouldn't be testable and more logic in the views, which I want
to avoid.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/robertkowalski/couchdb 2136-group-time-sorter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/214.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 #214
----
commit 17e90332f6e60274ad4896e2bc43e50ff1d27d5b
Author: Robert Kowalski <[email protected]>
Date: 2014-04-19T11:18:22Z
Group log messages by date
Introduce a heading for each day in the logs and remove the day
from each column.
Closes COUCHDB-2136
----
> Group log messages by date
> --------------------------
>
> Key: COUCHDB-2136
> URL: https://issues.apache.org/jira/browse/COUCHDB-2136
> Project: CouchDB
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Fauxton
> Reporter: Alexander Shorin
> Assignee: Robert Kowalski
>
> Another idea how to get more free space for log message is grouping by
> datetime. You'll rarely notice changes in date part while be reading the
> logs, so it is possible to extract this common part as group header like:
> {code}
> [2010-02-13]
> ==============================================================================
> [02:31:30] [<0.6327.1>] httpd 401 error response:
> {"error":"unauthorized","reason":"Name or password is incorrect."}
> [02:31:29] [<0.6258.1>] 'GET' /_log {1,1} from "127.0.0.1"
> Headers:
> [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
> {'Accept-Encoding',"gzip, deflate"},
> {'Accept-Language',"en-US,en;q=0.5"},
> {'Connection',"keep-alive"},
> {'Cookie',"AuthSession="},
> {'Host',"localhost:5984"}]
> ------------------------------------------------------------------------------
> [02:31:29] [<0.6258.1>] 'GET' /_log {1,1} from "127.0.0.1"
> Headers:
> [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
> {'Accept-Encoding',"gzip, deflate"},
> {'Accept-Language',"en-US,en;q=0.5"},
> {'Connection',"keep-alive"},
> {'Cookie',"AuthSession="},
> {'Host',"localhost:5984"}]
> {code}
> More free space for log message!
--
This message was sent by Atlassian JIRA
(v6.2#6252)