search cancel

Is there anyway to control Access Gateway (SPS) nohup output logging Rotation?

book

Article ID: 218031

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder)

Issue/Introduction

Is there anyway to control  Access Gateway (SPS) nohup output logging Rotation?

Environment

Release : 12.8x

Component : SITEMINDER -WEB AGENT FOR APACHE

Resolution

As of now, Access Gateway logs are redirected stdout and stderr to Nohup. there is no Supported mechanism exist for AG Nohup log rotation.

NOTE : There are some Recommendations below that you can try  for test purposes that may or may not work and are not supported 

1) Can the nohup in Access Gateway be disabled completely (MS and Linux platforms) ? 
NO

2) Can the nohup in Access Gateway be controlled using any of the parameters listed within " logger.properties" as “appender.SvrConsoleAppender.target=SYSTEM_OUT"   or any other ? 
NO

3) Is there any way to control the nohup file or manage it on Access Gateway Both MS and Linux platforms ? If not what Alternatives do we have 


For Linux: rotatelogs in Linux can be tried by updating proxyserver.sh  (under CA/secure-proxy/proxy-engine)
            below for non-Empty nohups for 60 seconds, instead of one with OOTB:

 $NOHUP_JAVACMD $JVM_MEM_OPTS $JVM_PERF_OPTS $SPS_TOMCAT_OPTS -DNETE_WA_ROOT=$NETE_WA_ROOT -DPWD=$PWD -classpath $CLASSPATH com.netegrity.proxy.ProxyBootstrap -config $CONFIGFILE  2>&1 | rotatelogs -l -n 10 $OUTPUT_FILE 60 & echo $! > $SPS_PID_FILE

For Windows: any alternative to rotatelogs in windows (cygwin,powershell etc..) can be tried.

HOWEVER, both the above(rotatelogs in linux and any alternative on windows) are NOT SUPPORTED alternatives