lmnewlog

The lmnewlog utility switches the report log file by moving the existing report log information to a new file, then starting a new report log with the original report log file name. If you rotate report logs with lmnewlog instead of lmswitchr, you do not have to change the file name in the REPORTLOG line of the vendor daemon’s option file. Requires a version 7.1 or later vendor daemon.

Usage

lmnewlog [-c license_file_list] feature renamed_report_log [-secondary]

or:

lmnewlog [-c license_file_list] vendor renamed_report_log [-secondary]

where:

lmnewlog Argument Usage

Argument

Description

-c license_file_list

Use the specified license files.

feature

Any feature in this license file.

vendor

Name of the vendor daemon in this license file.

renamed_report_log

New file path where existing report log information is to be moved.

-secondary

A new report log file is generated on a secondary server. The -secondary option switches the report log file by moving the existing report log information to a new file, then starting a new report log with the original report log file name at the secondary server for 3-server setup.

Note:Consider the following information:

The lmnewlogsecure utility must be utilized in order to enable the encrypted communication with the vendor daemon.
By default, the lmnewlog utility execution allows only 4 seconds to switch the report log file, However, if the report log file is large size, the switch may fail within this default time. To ensure a successful report log file switch, you can use the following command:

lmnewlog [-t timeout_value]

Setting the timeout_value (in seconds) indicates the maximum time the lmnewlog utility execution allows for switching the report log file.