search cancel

EEM - audit logs - can we make it multiple?

book

Article ID: 201919

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

Currently, the audit.log file in /CA/SharedComponents/EmbeddedEntitlementsManager/logs directory will contain two files below.  In our system, the log file will roll over in a few hours.  Is there any way that we can reconfig the system to save like 5 to 10 audit.log.xx files?

audit.log

audit.log.1 

Environment

Release : 12.5

Component : EMBEDDED ENTITLEMENTS MANAGER

Resolution

Make the changes in

/CA/SharedComponents/EmbeddedEntitlementsManager/config/server/server.xml

The section is

  <appender name="audit" class="org.apache.log4j.RollingFileAppender">
      <!-- The security audit log file -->
      <param name="file" value="${EIAM_HOME}/logs/audit.log" />
      <param name="append" value="true" />
      <param name="BufferedIO" value="false"/>
      <param name="maxFileSize" value="10000KB" />
      <param name="maxBackupIndex" value="1" />
      <layout class="org.apache.log4j.PatternLayout">
        <!-- The log message pattern -->
        <param name="ConversionPattern" value="%m%n"/>
      </layout>
   </appender>
  

Change the value from 1 to 10 for
<param name="maxBackupIndex" value="1" />


After making the changes, please restart the following services

CA Directory - itechpoz

CA iTechnology iGateway 4.7