arcotuds.log does not rotate after configuring for rotation

book

Article ID: 223679

calendar_today

Updated On:

Products

CA Advanced Authentication - Strong Authentication (AuthMinder / WebFort)

Issue/Introduction

At version 9.1.x arcotuds.log  do not rotate after configuring for rotation via UDSSERVER.ini (located in <ARCOT_HOME\conf)

Cause

1. The existing 2.11.2 version log4j JAR files found in the released arcouds.war is one of  root causes of the issue. These outdated JARs can be found in <APPLICATION_SERVER_HOME>\webapps\arcotuds/WEB-INF/lib and are as follows 

a. log4j-1.2-api-2.11.2.jar

b.log4j-api-2.11.2.jar

c. log4j-core-2.11.2.jar

2. Also, the UDSSERVER.ini has a yyyy-MM-dd format as opposed to yyyy-MM-dd-HH-mm-ss

 

Environment

Release : 9.1.x

Component :

Resolution

1. Stop the Application server.

2. Ensure that you have configured the UDSSERVER.ini in <ARCOT_HOME>\conf for rotation of logs say in this example after 1 MB of arcotuds.log have been created. Please efer to the  screenshot below. below.  The timestamped date format as "yyyy-MM-dd-HH-mm-ss" is key to provide a unique name for the backed up file. Say you provided date format as ""yyyy-MM-dd" then any logs created on the same day will be overwritten. Again, ensure you use the date format as"yyyy-MM-dd-HH-mm-ss".

 

3. From your arcotuds deployment say --- webapps/arcotuds/WEB-INF/lib --- backup these three existing old version 2.11.2 JAR files and then delete them.

     a. log4j-1.2-api-2.11.2.jar

     b. log4j-api-2.11.2.jar

     c. log4j-core-2.11.2.jar 

4. Apply these three new version 2.14.0 JAR files (to acquire these updated JAR for updated version file a Broadcom Support case)

    a. log4j-1.2-api-2.14.0.jar

    b. log4j-api-2.14.0.jar

    c. log4j-core-2.14.0.jar

******* Screen Shot below pertains to bullet #3 and #4 below *******************************

5. Restart Application server and test for log rolling.

6. As arcotuds.log gets filled with by say 1 MB log data in this case, observe that you will find older arcotuds.logs  of 1 MB data in your specified logs directory like shown in the screenshot below.

 

 

 

Additional Information

In a future release, the released arcotuds.war will have these new JAR versions mentioned here and also an updated UDSSERVER.ini file with the required date format and the issue will be addressed hence not require the resolution steps discussed in this article.

Attachments