lmswitchr

The lmswitchr utility switches the report log file by closing the existing report log and starting a new report log with a new file name. It also starts a new report log file if one does not already exist.

Usage

lmswitchr [-c license_file_list] feature new_report_log

With version 5.0 or later vendor daemon, the command looks like this:

lmswitchr [-c license_file_list] vendor new_report_log

where:

lmswitchr Argument Usage

Argument

Description

-c license_file_list

Use the specified license files.

feature

Any feature in this license file.

vendor

Vendor daemon in this license file.

new_report_log

Path to new report log file.

If report logging is not enabled for the vendor daemon, lmswitchr tells it to start writing its report log output to new_report_log. If report logging is already enabled for the vendor daemon, lmswitchr tells the vendor daemon to close its report log file and start writing its new report log output to new_report_log.

Note:The effect of lmswitchr continues only until the vendor daemon is shut down or its options file is reread via lmreread. When the vendor daemon is restarted or its options file is reread, it looks for a REPORTLOG line in the options file to determine whether or not to write report log output to a file and, if so, what file to write. It is best practice to set the location of new_report_log to a ProgramData sub-folder, since this location has user-write permission by default, which is needed when the license server runs as a service with LocalService permission

See Also: