jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Köll (JIRA) <j...@apache.org>
Subject [jira] [Commented] (JCR-3275) Audit log
Date Mon, 25 Jun 2012 06:11:43 GMT

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

Claus Köll commented on JCR-3275:
---------------------------------

Ok i see .. but i think the logs are also chatty because it logs every  change on node level
in the repo ;-) .. and we could add some speaking log and not only some values as used in
other audit logs.
I have changed it to debug but if you need it as info please feel free to change it back
                
> 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