How to increase ADE log size and configure maximum log files saved?
search cancel

How to increase ADE log size and configure maximum log files saved?

book

Article ID: 248006

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM)

Issue/Introduction

We noticed that with automated_deployment_engine v20.4X, the log4j2.xml is no longer installed in the automated_deployment_engine probe home folder like it was with previous versions.

How can we manage the automated_deployment_engine log size and maximum log files with 20.4X and above?

Environment

Release : 20.4

Component : UIM - ADE

Cause

The log4j2.xml location was changed to the \automated_deployment_engine\lib folder

Resolution

Edit the log4j2.xml settings located in the \automated_deployment_engine\lib\ path.

Configuration example set to save 10MB file log files with maximum log files set to 3

    <Policies>
         <SizeBasedTriggeringPolicy size="10MB"/>
     </Policies>
     <DefaultRolloverStrategy max="3"/>