Which Parameter/values Need to be Modified for newnslog file Rotation?

Which Parameter/values Need to be Modified for newnslog file Rotation?

book

Article ID: CTX223706

calendar_today

Updated On:

Description

Question: Which parameter/values need to be modified for newnslog file rotation?

Answer: Compression and Rotation of newnslog is controlled by nslog.sh and nsagg.conf. So nslog.sh does the compression and nsagg.conf has the control over the rotation.

If you navigate to /var/nslog  on NetScaler and check the file you can see the parameters for changing.

root@ns# cat nsagg.conf | more
COMMAND=START
LOGSIZE=100m
LOGFILECNT=100
LOGTIME=172800
root@ns#

After the newnslog1 size becomes 100m(Logsize) or logtime is 172800 , whichever is earlier the log file is rotated.
Now you can modify these two parameters as per your choice.