Unsolved
This post is more than 5 years old
68 Posts
0
1014
A way to increase size of rap.log files ?
Hello,
I'm asking myself if there is a way to increase the time of logged information stored in the rap log files. Is there any "NSR rap" resource which can be configured in the same way of the "NSR log" resource (max size file, max versions...) ?
Thanks for your help.
Denis
ble1
14.3K Posts
1
March 5th, 2013 11:00
No.
deniscnqd
68 Posts
0
March 6th, 2013 00:00
Thanks.
I will script something to copy files to a long term location.
bbeckers1
1 Rookie
1 Rookie
•
107 Posts
0
September 25th, 2013 05:00
as I was looking for the same, I found https://emc--c.na5.visual.force.com/apex/KB_HowTo?id=kA0700000004LqT
it states that using the variables
NSR_MAXLOGSIZE=n
and
NSR_MAXLOGVERS=n
can be used not only for daemon.log but apparently also for rollover of rap.log. only wondering if that might interfere with the log file settings that can be changed via "nsradmin -s -p nsrexec":
runtime rollover by size: Disabled;
runtime rollover by time: "17:00";
TimQuan
1.2K Posts
0
September 26th, 2013 18:00
Yes, the size of rap.log can be controlled by NSR_MAXLOGSIZE. NSR_MAXLOGSIZE is a soft limit. The actual size of rap.log can exceed NSR_MAXLOGSIZE. NetWokrer will regularly check rap.log and if it finds the size of rap.log is bigger than NSR_MAXLOGSIZE, it will truncate rap.log.