How to increase the STD log size?

Document ID : KB000009617
Last Modified Date : 20/07/2018
Show Technical Document Details
Introduction:

Sometimes, the current default stdlog size is not enough to get information related to some problems, because the turnover is very fast, due to the high detailed information collected in the logs.

In this circumstaces, customer needs to increase the log size.

Environment:
Service Desk Manager 12.9 / 14.1 / 17.x
Instructions:

To show the current log size, run the command:

pdm_logfile -L

You will get something like:

C:\Users\Administrator>pdm_logfile -L

        Logfile     ---- Cutover ----

Current: STD             3000000 Bytes

             STD             3000000 Bytes

             STD             3000000 Bytes

 

To increase the STD log size from 3000000 to 10000000, follow the procedure below:

1. Edit file NX.ENV and change variable NX_LOGFILE_LIMIT to 10000000.

2. Edit file ..\pdmconf\NX.ENV_NT.TPL and change the value of

NX_LOGFILE_LIMIT to 10000000. This is done to guarantee next time pdm_configure is run the new value will be maintained.

3. As these changes will only be recognized the next time Service Desk is recycled, the following command was run to change the file size on-line:

pdm_logfile -b 10000000

Note that, before Release 17.x is the default size is 3MB for each stdlog.
For Release 17.x, each stdlog default size changes to 30MB. So, to increase the size for 17.1, the value must be greather than 30MB.

Additional Information:

For Conventional configuration, please change it in primary and secondary servers

For Advanced Availability configuration, please change it in Backgroud, Standby and all Application servers