Setting the Size of the Server Log File
For on-disk logging, when the log file exceeds its specified maximum size, it is cleared and restarted (rolled over). A message is written to the log indicating it has been cleared and restarted. The default size of the on-disk log is 15MB.
Note: The size of the in-memory log is determined by the
DBGMEMSIZE_KB Process Attribute in the TIBCO iProcess Engine — it defaults to 256K. For more information, see the
TIBCO iProcess Engine Administrator’s Guide.
Only the on-disk server log file (swentobjsvXX.log on UNIX; SWEntObjSvXX.log in Windows) is rolled over when it reaches the maximum size. (The audit log (swentobjuaXX_timestamp.log on UNIX; SWEntObjUaXX_timestamp.log in Windows) is never rolled over by TIBCO iProcess® Objects Server. It is the customer’s responsibility to back up and remove the audit log. For more information, see Log File Names.
You can specify the size of the server log using the following:
|
•
|
Object Model - The following methods can be used to set the log size: |
|
—
|
TIBCO iProcess Objects - SetMaxLogSize method |
|
—
|
TIBCO iProcess Server Objects - SetSrvLogOptions method (using the aMaxSize parameter) |
|
•
|
TIBCO iProcess® Objects Server Configuration Utility - The Log Size section on the Log tab contains a field in which you can specify the number of megabytes to set the maximum size of the log. |
|
•
|
TIBCO iProcess® Objects Server Configuration File - Locate the LOG_FILE_MAX_SIZE entry in the swentobjsv.cfg file and set it to the desired maximum size, in megabytes. For more information, see LOG_FILE_MAX_SIZE. |