Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B236E11530 for ; Wed, 23 Apr 2014 20:00:32 +0000 (UTC) Received: (qmail 76372 invoked by uid 500); 23 Apr 2014 20:00:27 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 76315 invoked by uid 500); 23 Apr 2014 20:00:24 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 76216 invoked by uid 99); 23 Apr 2014 20:00:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 20:00:21 +0000 Date: Wed, 23 Apr 2014 20:00:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-2136) Group log messages by date MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978802#comment-13978802 ] ASF GitHub Bot commented on COUCHDB-2136: ----------------------------------------- Github user robertkowalski commented on the pull request: https://github.com/apache/couchdb/pull/214#issuecomment-41207342 Merged! > 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)