Previous Topic: Provide Auxiliary Logs

Next Topic: Print Logs

Log File Operations

After you define a log, CA-L-Serv automatically opens and starts recording information in it. You can issue a command to stop writing to a log at any time. CA-L-Serv also provides commands for reopening a closed log or permanently closing a log. The following table lists the commands that CA-L-Serv provides for opening, closing, and check pointing logs.

OPENLOG logname

Opens a log and starts recording in it.

CLOSELOG logname

Stops recording to the log and temporarily closes it.

WRITELOG logname

Writes all active buffers to the log to ensure that the most recent events have been recorded.

REMOVELOG logname

Stops recording to the log and permanently closes it. (The log must be redefined using the ADDLOG command before CA-L-Serv can use it again.)

SWITCHLOG logname

Closes the current log and opens the next log in the list. (The list is defined on the ADDLOG command.)

For more information about these commands, see the Reference Guide.