ACC Utilities Reference Guide

Chapter 7 179
ZMLOG - Diagnostic Message Logging
ZCOM Diagnostic Message Logging Mechanism
The run string (including options) for ZMLOG is:
Usage: zmlog [options] [-p pri] [-z zfile] [-m mfile] [-B bmax]
[-T tmax] [-l lpath] [-d dev] ...
Options:
t,b enable text or binary logging
nt,nb,nd disable text or binary or device logging
nf do not fork (run in foreground)
x hex dump each message log (for zmlog debugging)
Parameters:
pri minimum message priority to be logged
zfile specify ZCOM log device file
mfile specify message text file
bmax specify max size of one binary log file
tmax specify max size of one text log file
lpath specify text and binary directory
dev specify log device (up to 4 devices)
The options select the types of logging to be done:
-b Enable binary logging to log files day.blog -donotuse
option -nb with t his option.
-t Enable text logging to log files day.tlog -donotuse
option -nt with this option.
-nb Disable binary logging to files - do not use option -b
with this option.
-nt Disable text logging to files -donotuseoption-t
with this option.
-nf No fork. Normally ZMLOG forks a child and runs in
the background. This option disables it. Used by
zmasterd.
-x Enable the debug hex dump in the program. This
should only be used for debugging the zmlog program.