1 Reply Latest reply on Aug 11, 2014 1:12 PM by Ramesh Reddy

    [Teiid] Configuring AUDIT_LOG for authentication

    Isuruwan Herath Newbie



      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:





      <periodic-rotating-file-handler name="AUDIT" autoflush="true">


                          <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"/>


                      <file relative-to="jboss.server.log.dir" path="audit.log"/>

                      <suffix value=".yyyy-MM-dd"/>

                      <append value="true"/>



      <logger category="org.teiid.AUDIT_LOG" use-parent-handlers="true">

                      <level name="DEBUG"/>


                          <handler name="AUDIT"/>




      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.