Logdstpri, Synopsis, Description – HP R4.2 User Manual

Page 559

Advertising
background image

A

Summary of Commands

logDstPri

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 520

logDstPri

The logDstPri command creates the shared memory containing the dynamic
destinations and priorities of logging messages using the logMsg() interface.

Synopsis

logDstPri

[-H {dir}] [-c] [-v] [-d] [-x {cnt}] [rules]

Description

The logDstPri

command

reads an ASCII rules file, described in msgDst, and

then sets up a shared memory segment using the information in the rules file
In this way, any process in the system using the logMsg (), vlogMsg (), or
logSysError ()
library calls can determine the appropriate priority and logging
destinations for each message they send.

By default, the rules files are expected to appear in
${LOGROOT}/msgDst.rules, where

${LOGROOT}

is /usr/spool/log. By

default, the header files used to translate ASCII names of message indices
into numbers are expected to appear in the directory ${LOGROOT}/head. An
alternate directory for the header files can be specified via the

-H

option on

the command line. An alternate rules file can be specified as a file name on
the command line.

Advertising