How to automatically delete application server and event_demon logs.
search cancel

How to automatically delete application server and event_demon logs.

book

Article ID: 39095

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Introduction/Summary:

We would like to control the number of AutoSys event_demon logs and as_server logs that get generated over a period of time.

Background:

Is there a way to automatically delete older event_demon and as_server logs?

Environment:

Unix or Windows

Instructions:

This new feature of AutoSys is set in the config file for AutoSys (Unix or Windows) beginning with AutoSys 11.3.6 SP2.

Unix/Linux:

$AUTOUSER/config.$AUTOUSER

Windows:

%AUTOUSER%\config.%AUTOSERV% 

There is a section in the config file:

#+---------- 

# Keyword: LOGROLLOVER=<value> 

# Specify when to roll over the Scheduler and Application Server 

# log file. 

# Valid values are: 

# OFF = Do not roll over the log file. 

# MIDNIGHT = Roll over the log file at midnight. 

# SIZE(n) = Roll over the log file when it becomes 

# larger than the value specified in number 

# of megabytes. 

# PURGE(n) = Remove all the application generated log 

# files older than the value specified in 

# number of days. 

# MIDNIGHT,SIZE(n) = Roll over the log file at midnight or when 

# it becomes larger than the value specified 

# in MB. 

 

LOGROLLOVER=MIDNIGHT

 

Additional Information:

After making the changes, you must restart the AutoSys Scheduler and/or the Application Server for the settings to take effect.

Environment

Release: ATSYHA99000-11.3.6-Workload Automation AE-High Availability Option
Component: