8.89 LOG (Direct logger output)
8.89.1 Function
The LOG command lets you redirect the log output to another destination.
8.89.2 Syntax
Descriptive
[ newfile
Diagram
¬§¬¬¬
newfile ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
OFF
8.89.3 Parameter
newfile
The file name and optionally the path to which the log output has to be written to.
OFF
Stops the output going to the logfile.
8.89.4 Examples
Example 1:
Redirect the log output to a new logfile destination.
HHC00013I Herc command: 'log d:/mvs/log/newlog.txt'
Figure 171: LOG command (redirect output to a new logfile)
Example 2:
Stop the output going to the logfile.
HHC00013I Herc command: 'log off'
HHC02101I Logger: log closed
Figure 172: LOG command (stop output to logfile)