How to manage server.log in a CA SSO 12.8 SP1 Access Gateway

book

Article ID: 130324

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



Is there an alternative method (respect to use the proxyui admin) to manage and configure Rotation and Retention for the server.log? 

Environment

CA SSO 12.8 SP1 Access Gateway

Resolution

The server.log file is controlled by the Tomcat server, which is configured from log4j. 

Configuring the Tomcat/properties/logger.properties file according to that document 
will make the server.log to be rotated when reaching a given size. 

Tech Tip : Howto enable Tracing in Access Gateway (fka: Secure Proxy Server) 
https://communities.ca.com/community/ca-security/ca-single-sign-on/blog/2017/03/07/howto-enable-tracing-in-agent-gateway-fka-secure-proxy-server 

Log4j - 2 minute tutorial 
http://www.2min2code.com/articles/log4j_intro/rolling_file_on_size_prop