NIO CommKit Host Interface Installation and System Administration Manual
DKSRVLOG(4) DKSRVLOG(4)
E-76 CommKit Host Interface, Release 4.0
NAME
dksrvlog – host interface server log file
DESCRIPTION
This file is used by the dkserver(1M) program to log information about incoming call requests. The default
log file name is /var/opt/dk/log/dksrvlog and may be changed with the ’-l’ option to dkserver(1M). The ’-v’
option to dkserver(1M) specifies the amount of information that will be written to the log file. A log level
of 1 prints out the least information and a log level of 9 prints out the most information. The default
dkserver(1M) log level is 6.
Each entry in the log file (for log levels 6 or lower) begins with a time stamp that includes the date, time,
interface, and channel number of the current call. It also contains the process ID of either the dkserver(1M)
or the current call.
The first message logged after dkserver(1M) starts is:
time_stamp SERVER name is INITING files=(srvtab dkuidtab) loglvl=n
time_stamp dkmgr: SERVER name is ACTIVE and SERVING
where name is the name of the host interface server started, srvtab is the name of the dkserver(1M) control
table, dkuidtab is the name of the dkuidtab(4) file and n is the level at which the server activity is logged.
More information is printed depending on the following log levels:
Log Level Log Information
1 Each incoming call is logged with the service requested, the user ID, and the dialstring of
the remote system the call originated from. The entry will also show whether the call was
accepted with the token REQUEST or rejected with the token DENIED.
2 Logs the reasons incoming calls are rejected. The token used is either ERROR or DENIED.
3 Enters information when a call exits, including the device, process ID, and exit code. The
exit code is passed from the process which was spawned by the dkserver(1M) for the call.
Consult the documentation for the exiting process and refer to the exit(2), wait(2), and
signal(2) manual pages. The token used is EXIT.
4 Arguments that are passed with the incoming call are logged. The token is ARGS.
5 Same as log level 4.
6 Same as log level 4.
7 Prints information useful for debugging.
8 Logs the number of channels per interface and, for each call, the parsed dialstring. This
information is actually logged by the dkmgr() function which receives and parses incoming
calls. The value of the optional key, DKKEY (see authorize(1M), is also logged by the
dkmgr() function.
9 The full dialstring (including DKKEY) as it was received will be logged.
FILES
/var/opt/dk/log/dksrvlog default name of the dkserver(1M) log file.
SEE ALSO
authorize(1M), dkserver(1M), dkdial(3X), dkuidtab(4), srvtab(4)
exit(2), signal(2), wait(2) in the AT&T UNIX System V Programmer’s Reference Manual