SPS httpd access logs are not rotating

book

Article ID: 95816

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

We have been getting an issue with httpd logs filling up our disks and the rotatelogs configuration is in place but they do not rotate the logs and the access log keeps filling up.

Cause

SSL was enabled on SPS but log rotation was not enabled on httpd-ssl.conf

Environment

CA SiteMinder Secure Proxy Server 12.52 SP1 CR07

Resolution

Kindly add the below lines in httpd-ssl.conf file and restart the SPS. 
CustomLog "|'C:/CA/secure-proxy/httpd/bin/rotatelogs.exe' 'C:/CA/secure-proxy/httpd/logs/access_log' 10M" common
ErrorLog "|'C:/CA/secure-proxy/httpd/bin/rotatelogs.exe' 'C:/CA/secure-proxy/httpd/logs/error_log' 10M"