![Macrovision Corporation SAMREPORT-LITE 2006 Manual Download Page 30](http://html1.mh-extra.com/html/macrovision-corporation/samreport-lite-2006/samreport-lite-2006_manual_3269583030.webp)
4
Archive (and probably compress) a report log when it is no longer needed
to run reports.
You must rotate a report log at the following times:
■
If you move the license server to a new machine.
If SAMreport-Lite detects that the license server hostid changes in a report
log used to generate a report, it will stop processing the report log and
include only the data preceding the hostid change in the report.
■
If a vendor daemon name changes.
If SAMreport-Lite detects that the vendor daemon name changes in the
report log used to generate a report, it will stop processing the report log
and include only the data preceding the vendor daemon name change in
the report.
You may want to rotate a report log at a regular time interval, such as weekly
or monthly, depending on how quickly the report log grows. The rotation
of a report log does not need to be tied to the interval over which you run
your reports—remember that you can run a report on multiple report logs
and that you can filter report data with designated start and end dates. You
may also want to rotate report logs when the license limit for a feature
changes, but alternatively, you can also set start and end date filters to
isolate usage for given license limits.
NOTE
You can corrupt a report log by rotating it incorrectly. A report log must
begin with a header that is written by the vendor daemon. Without this header,
the report log is corrupted. The data in the report log is unusable and unsalvagable
from the start of the report log until the first time in that report log that the license
server is restarted.
The report log will have no header and will be corrupted if you manually copy
an active report log to a new file name, delete the original active report log,
and keep the vendor daemon writing to the original active report log file
name.
Finding the Version of the Vendor Daemon and
lmswitchr
How you are able to rotate report logs depends on the version of the vendor
daemon and lmswitchr that you use. The -switchlog batch option in uses
lmswitchr.
26 | Chapter 6 Enabling and Managing Report Logs