jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mete Atamel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3275) Audit log
Date Mon, 25 Jun 2012 06:29:42 GMT

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

Mete Atamel commented on JCR-3275:
----------------------------------

Yes, they are somewhat chatty but that's the nature of audit logging. I'm not sure if I follow
your comment about speaking log. I think for audit logging to be useful, its basic form (i.e.
ClusterNode part) needs to be logged at info level. Not many people want to enable debug logging
which means no audit logging for majority of use cases and that defeats the purpose. So, I
suggest we change ClusterNode audit logging back to info, so at least we have some audit log
by default. I'd do it myself but I don't have commit rights :-)
                
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message