LogRolloverTime to Time Rotate logs and traces in Web Agent
search cancel

LogRolloverTime to Time Rotate logs and traces in Web Agent

book

Article ID: 219639

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder)

Issue/Introduction

When running a Web Agent, how to configure the following parameters in LocalConfig.conf can be used and defined in the Web Agent ACO:

#LogRollover="NO"
#LogRolloverSize="10240"
#LogRolloverTime="12"

Resolution

These parameters are reserved to the ASA Agent (Application Server Agent) that runs in Java on WebSphere, WebLogic and JBoss among the others.

ASA documentation explains how to use them (1).

Looking at these parameters in the Policy Store definitions, they should be set for use in the ASA Agent:

smpolicy.xml :

<Object Class="CA.SM::AgentConfig" Xid="CA.SM::AgentConfig@21-84513a47-bc55-445c-bec3-13e5ad72b5a3" >
      <StringValue>#LogLevel=0=0</StringValue>
      <StringValue>#LogRollover=0=no</StringValue>
      <StringValue>#LogRolloverSize=0=10240</StringValue>
    <Property Name="CA.SM::AgentConfig.Name">
        <StringValue>ASAWLSDefaultSettings</StringValue>

<Object Class="CA.SM::AgentConfig" Xid="CA.SM::AgentConfig@21-7d329769-dba6-4be3-a453-fe36b6f53bcf" >
      <StringValue>#LogRollover=0=no</StringValue>
      <StringValue>#LogRolloverSize=0=10240</StringValue>
      <StringValue>#LogRolloverTime=0=12</StringValue>
    <Property Name="CA.SM::AgentConfig.Name">
        <StringValue>ASAWASDefaultSettings</StringValue>
                

For the Web Agent, only the following are available:

<StringValue>LogAppend=0=no</StringValue>
<StringValue>LogFileName=0=</StringValue>
<StringValue>LogFileSize=0=100</StringValue>
<StringValue>Logfile=0=no</StringValue>

That's the main reason the description of them cannot be found in the SiteMinder documentation.

The ASA Agent has separate documentation (1).

At the moment, Web Agent has the following parameters to log and trace rotation (2).

Additional Information