How to manage ConnectALL Core log files?
search cancel

How to manage ConnectALL Core log files?

book

Article ID: 424510

calendar_today

Updated On:

Products

ConnectAll On-Prem ConnectALL

Issue/Introduction

In our environment, the logs files are overwritten fast and we are missing some crucial logs information while investigating issues, specially when DEBUG is enabled.
How can we keep more logs?

Environment

4.x

Cause

By default, ConnectALL is configured to automatically rollover & compress log files when they reach a certain size. This behavior applies to all log files located under: ../ConnectALL/Core/logs/

Default Log Rollover Configuration:

  • Each log file is rolled over when it reaches 100 MB
  • A maximum of 10 rolled-over log files are retained
  • Once the limit is reached, older log files are overwritten

As a result, for each automation you may see up to 11 log files (1 active + 10 rolled over).

 

Disk Space Considerations:

In environments with multiple automations, log files can accumulate quickly and may consume significant disk space. If disk space becomes full, it can adversely affect ConnectALL services.

Resolution

Customising Log Rollover Settings:

You can modify the log rollover configuration by updating the following file: ../ConnectALL/Core/conf/log4j2.xml

 

Adjust the highlighted parameters as needed:

<SizeBasedTriggeringPolicy size="100MB"/>
<DefaultRolloverStrategy max="10"/>

After making changes, restart the ConnectALL Core service for the updates to take effect.

 

Recommendation:

Review and tune these settings based on your environment, number of automations, and available disk space to prevent storage issues and ensure uninterrupted ConnectALL operation.