Automated log management for RSA Mobile
Originally Published: 2004-01-19
Last Modified: 2023-09-24
Article Number
Applies To
RSA Mobile 1.5
Microsoft Windows 2000
Sun Solaris
Issue
Log file keeps growing
Cause
Resolution
The configuration of this logging can be found in the file <BASEDIR>/properties/AuditLogConfig.xml, where there will be a block of data that looks as shown below:
<!-- This appender will store RSA Events into a flat file. If the -->
<!-- value of the File parameter is not a full or relative pathname, -->
<!-- the event log file will be stored in the working directory. -->
<appender name="EventFile" class="org.apache.log4j.FileAppender">
<errorHandler class="com.rsa.log4j.RSAErrorHandler"/>
<!-- Customizable log file location. -->
<param name="File" value="../../log/RSAEvent.log" />
<!-- Use PatternLayout for formatting. -->
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
</layout>
</appender>
To have the log file switched each day, replace the entire block of code with the following:
<!-- This appender will store RSA Events into a flat file. If the -->
<!-- value of the File parameter is not a full or relative pathname, -->
<!-- the event log file will be stored in the working directory. -->
<appender name="EventFile" class="org.apache.log4j.DailyRollingFileAppender">
<errorHandler class="com.rsa.log4j.RSAErrorHandler"/>
<!-- Customizable log file location. -->
<param name="File" value="../../log/RSAEvent.log" />
<param name="DatePattern" value=".yyyy-MM-dd" />
<!-- Use PatternLayout for formatting. -->
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d %-5p - %m%n"/>
</layout>
</appender>
NOTE: The log switch does not occur at midnight. It occurs when the next event occurs, which might for example not be until 6:00 a.m. the next morning.
Related Articles
How to enable the SSO Configuration menu in the RSA Mobile Lock Console 304Number of Views RSA Authentication Manager Displays Unwanted Certificate Signing Requests (CSRs) in the Operations Console Certificate Man… 2.7KNumber of Views Creating automated test users with a fixed passcode that does not need to be changed on initial logon using RSA Authentica… 304Number of Views A device is not listed on the Devices page of the RSA Mobile Lock console 55Number of Views Do the RSA SecurID Access mobile apps support the Time-based One-time Password Algorithm (TOTP)? 221Number of Views
Trending Articles
Artifacts to gather in RSA Identity Governance & Lifecycle How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device How to Update the Root (Server) and Client Certificates in RSA Identity Governance & Lifecycle Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle How to Download and Reinstall the AFX Server Archive in RSA Governance & Lifecycle
Don't see what you're looking for?