UNSOLVED

deniscnqd

updated

14 years ago

D

deniscnqd

68 Posts

0

1135

March 5th, 2013 07:00

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

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    553

    1

    Posted March 5th, 2013 11:00

    No.

  • deniscnqd

    68 Posts

    553

    0

    Posted March 6th, 2013 00:00

    Thanks.

    I will script something to copy files to a long term location.

  • bbeckers1

    2 Intern

    •

    205 Posts

    •

    6 Points

    553

    0

    Posted 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

    6 Operator

    •

    1242 Posts

    553

    0

    Posted 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.