What dictates how long the Control-M/Agent logs are saved (LOGKEEPDAYS versus SYSKEEPDAYS)? - INCLUDES VIDEO

Version 4
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M/Server for UNIX and Microsoft Windows


    COMPONENT:

    Control-M/Server for UNIX and Microsoft Windows


    APPLIES TO:

    Control-M/Server for UNIX and Microsoft Windows - All versions



    QUESTION:

    How are the Control-M/Agent logs cleaned up?   What parameters affect how long they are kept.


    ANSWER:

     

    As part of the new day procedure, the Agent cleans the proclog directory. The LOGKEEPDAYS parameter ("Days To Retain Log Files") specifies how many number of days the Agent logs will be kept in Agent's proclog folder.

    The LOGKEEPDAYS parameter for Agent can be set at the Control-M Configuration Manager GUI by right-clicking on the specific Agent and go to Control-M/Agent System Parameter and look for LOGKEEPDAYS under Name column.

    The change will affect automatically at next new day time.

    There is SYSKEEPDAYS setting for Agent found under Agent's Properties OUTPUT tab with Default value(ie, the value comes from Control-M/Server). The SYSKEEPDAYS setting specifies how many number of days the Agent will keep job outputs and its associated files; but not the Agent logs under proclog folder. The Agent will use the SYSKEEPDAYS specified at the Agent configuration and if nothing is set, the Control-M/Server sends the SYSKEEPDAYS value at new day time to those Agents. 
       

    The following video demonstrates this article:

      

     


    Article Number:

    000019403


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles