A Summary of Commands

fixLogFile

Description

When classes of logging messages are expanded, contracted, inserted, or removed, fixLogFile can change the index assignments of messages. When this happens, messages whose indexes changed and were logged under the previous environment become unexpandable by logCat. The fixLogFile command, given information about the previous assignments and the new assignments, upgrades logged data so that it remains expandable by logCat.

Each message is examined. If the class of messages appears in the new environment and still covers the index assigned to the message, a new index is assigned based on where it appears in the new environment. If the class of messages is no longer part of the message logging environment or if a class is reduced in size so that it no longer covers the index of a message, then it is necessary to use one of the following three options:

-d— Deletes the message entirely from the logging file.

-r— Demaps the message. This entails expanding the message in the old environment and then creating a new logging message using the LOG_REMAP_DISCARD format. The data is still readable in the log files, but is marked as being part of a discarded message environment. This is the default behavior.

-s {save_file} — Removes the message from the original logging file and saves it in the specified file, thus preserving the unique data for possible later retrieval.

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 474