ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

LogRotate Issue

book

Article ID: 186968

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction


We're running a Web Agent and when we run Rotatelogs plugin on the

Apache server :

  rotatelogs - Piped logging program to rotate Apache logs
  https://httpd.apache.org/docs/2.4/programs/rotatelogs.html


If the Rotatelogs cannot roll the Web Agent log file, then the file
reached a huge size which fulled the disk space and the Web Agent
cannot process transaction any more.

How can we fix this ?

Environment


Web Agent 12.52SP1CR09 on Apache on Linux

Resolution


The integration of Rotatelogs plugin with the Web Agent is out of

support. You should consult the Apache community to fix this.

Web Agent has its own log rotation features :

Error Logs and Trace Logs

  LogFileSize
  LogFilesToKeep

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-identity-and-access-management/single-sign-on/12-52-01/configuring/web-agent-configuration/logging-and-tracing/error-logs-and-trace-logs.html#concept.dita_a31c63c410b3c3d4036130fa282cce4c500dcf25_SetUpandEnableErrorLogging

The only issue documented about this feature is that if you configure
the Web Agent ACO parameters to rotate the logs, and if there's a
permission owner mismatch on the files and Web Agent process owner,
you can experience problem as described in this KD :

  Web Agent logs are not rotating and stop logging.
  https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=16121