Is there a way to control Access Gateway (SPS) nohup.out log rotation?
Release : 12.8x
Component : Access Gateway (SPS)
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.)
$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.
(NOTE: Both of the above options, rotatelogs in Linux and any alternative on Windows, are NOT SUPPORTED alternatives.)