A SERVICE OF

logo

370 Chapter 5
Command Definitions L-O
LOG
LOG
Starts, restarts, or stops user logging.
Syntax
LOG logid{ ,RESTART ,START ,STOP }
Parameters
logid Logging identifier previously established with a user GETLOG command.
START Initiates a logging process.
RESTART Restarts a logging process.
STOP Terminates a logging process.
Operation Notes
This command allows you to start, restart, or stop user logging. For further discussion of
user logging, refer to the User Logging Programmer's Guide (32650-60012).
To change log files without the delay normally caused by executing a LOG command, use
the CHANGELOG command to enable interactive log file changing. Use the AUTO parameter
of the ALTLOG and GETLOG commands to enable automatic log file changing.
Use
This command may be issued from a session, job, program, or in BREAK. Pressing Break
has no effect on this command.
This command can be executed only by users to whom it has been allowed (see ALLOW
command) or to users logged onto the console (or to a terminal that has taken the console
via the CONSOLE command). System Supervisor (OP) capability is also required.
Example
To start the logging process identified by logid LOGPROCX, enter:
LOG LOGPROCX,START
Related Information
Commands ALTLOG, CHANGELOG, GETLOG, SHOWLOGSTATUS
Manuals User Logging Programmer's Guide (32650-60012)