lmnewlog Enhancement: Configurable Time Limit
The lmnewlog utility manages report log rotation by moving the current report log to a new file and starting a fresh log with the original filename. The FlexNet Manager for Engineering Applications agent depends on these standard logs to monitor and extract license usage data.
Previously, lmnewlog allowed only 4 seconds to complete the log switch. In environments where the report log is large, this default timeout could cause the operation to fail.
With this enhancement, the timeout for the lmnewlog utility is now configurable directly from the Admin tab , under System Configuration in the Manager settings. In the user interface, you can specify a custom time limit (in seconds) for the log switch operation, ensuring successful execution even with large log files.
When the Enable Time Limit for lmnewlog option is selected, the -t
parameter is included in the lmnewlog command. The user can then enter a specific timeout value in the Time (in seconds) for -t option in lmnewlog field. The default remains four seconds, but any value between 1 and 2,147,483,647 seconds is accepted. If the field is left empty while the check box is selected, the system will display a validation error indicating that a valid number must be provided.
If the check box is not selected, the utility continues to operate with its default behavior, using the original four second timeout.
It is important to note that this setting is global. If a customer has multiple license servers, enabling the time limit and specifying a value will apply the same timeout to all lmnewlog commands across all servers. For example, if a customer enables the option and sets the timeout to 20 seconds, every license server will use this value when executing the lmnewlog command.