You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Geoffroy Schneck (JIRA)" <ji...@apache.org> on 2012/10/10 12:11:04 UTC

[jira] [Commented] (JCR-3275) Audit log

    [ https://issues.apache.org/jira/browse/JCR-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473137#comment-13473137 ] 

Geoffroy Schneck commented on JCR-3275:
---------------------------------------

Additional comment / enhancement proposal :

When saving several transaction at the same time, the Audit log could log all nodes impacted by the commits.

For example, (using CRXDE Lite) I created 2 nodes,  /tmp/test and /tmp/test/subtest .
On save , I see only one line : 

10.10.2012 12:04:37.795 *DEBUG* [10.136.133.138 [1349863477688] POST /crx/server/crx.default/jcr%3aroot HTTP/1.1] org.apache.jackrabbit.core.cluster.ClusterNode revision 1099516356096 admin@/tmp


                
> 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
>            Assignee: Marcel Reutegger
>             Fix For: 2.5
>
>         Attachments: JCR-3275-4.patch, JCR-3275-5.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) 
> <date> <time> [<counter>] <txid> <userid>@<path> (<size>)
> We should also think about whether we want this log as part of regular jackrabbit log or in a separate audit log. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira