[jboss-jira] [JBoss JIRA] (WFLY-3164) Create customized Audit Logger
Kabir Khan (JIRA)
issues at jboss.org
Mon Jun 16 11:25:24 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976653#comment-12976653 ]
Kabir Khan commented on WFLY-3164:
----------------------------------
PR https://github.com/wildfly/wildfly/pull/6305 implements this. However, it has a bunch of interfaces for users to implement in the org.jboss.as.controller.audit.spi package, and the controller module is private.
> Create customized Audit Logger
> ------------------------------
>
> Key: WFLY-3164
> URL: https://issues.jboss.org/browse/WFLY-3164
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Reporter: Kabir Khan
> Assignee: Kabir Khan
> Labels: EAP
> Fix For: 9.0.0.CR1
>
>
> Some users want to have a single line audit log formatter. I think it would be better to have the ability to add your own formatter from a module, something along the lines of:
> {code}
> <custom-formatter code="org.blah.MyCustomFormatter" module="org.blah/mymodule">
> <property name="layout">...</property>
> <property name="propB">...</property>
> </custom-formatter>
> {code}
> We'd need an SPI, and a slight reworking of the audit log internals. In any case doing this will put us in a better position to provide the single line logger if this proposal is not acceptable to our users.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list