Hi,
I need to configure standalone-teiid.xml to log authentication events using periodic rotating file handler. But the file does not get written with logs. My configs are:
standalone-teiid.xml
------------------------------------------
<periodic-rotating-file-handler name="AUDIT" autoflush="true">
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"/>
</formatter>
<file relative-to="jboss.server.log.dir" path="audit.log"/>
<suffix value=".yyyy-MM-dd"/>
<append value="true"/>
</periodic-rotating-file-handler>
------------------------------------------------------
<logger category="org.teiid.AUDIT_LOG" use-parent-handlers="true">
<level name="DEBUG"/>
<handlers>
<handler name="AUDIT"/>
</handlers>
</logger>
Do I need to configure anything more to get this working? If not how do I verify this is working? A similar configuration for COMMAND_LOG works perfectly.
Thanks!
Isuruwan