Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-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 91C479179 for ; Mon, 2 Apr 2012 14:13:47 +0000 (UTC) Received: (qmail 43346 invoked by uid 500); 2 Apr 2012 14:13:46 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 43291 invoked by uid 500); 2 Apr 2012 14:13:46 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 43170 invoked by uid 99); 2 Apr 2012 14:13:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 14:13:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 14:13:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 84CB51C3E78 for ; Mon, 2 Apr 2012 14:13:22 +0000 (UTC) Date: Mon, 2 Apr 2012 14:13:22 +0000 (UTC) From: "Mete Atamel (Updated) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1183407288.575.1333376002545.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1198023572.16385.1332746310946.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JCR-3275) Audit log 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/JCR-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mete Atamel updated JCR-3275: ----------------------------- Attachment: JCR-3275-4.patch The latest attached patch further improves the logs with additional info. > Audit log > --------- > > Key: JCR-3275 > URL: https://issues.apache.org/jira/browse/JCR-3275 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Affects Versions: 2.4 > Reporter: Mete Atamel > Attachments: JCR-3275-4.patch, JCR-3275.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > JCR-2031 added the user name and path in debug logs for audit purposes. There are some problems with the fix that I had outlined in the comments for JCR-2031 and provided a patch. Additionally, it would use useful to add an update counter and size information to the debug log as well. Something like this: > 17.03.2009 14:43:37 [1] 18216140 admin@/apps/acme/templates/contentpage/thumbnail.png (12343) > 17.03.2009 14:43:37 [2] 18216141 admin@/apps/acme/templates/contentpage/my.png (123) > 17.03.2009 14:43:37 [3] 18216142 admin@/apps/acme/templates/contentpage/blah.png (1423) > 17.03.2009 14:43:37 [4] 18216143 admin@/apps/acme/templates/contentpage/test.png (123423) > 17.03.2009 14:43:37 [5] 18216144 admin@/apps/acme/templates/contentpage/test2.png (123423) >