Creating the LOGID [ User Logging Programmer's Guide ] MPE/iX 5.0 Documentation
User Logging Programmer's Guide
Creating the LOGID
The User Logging system process is identifiable to the system by a logid.
A maximum of 64 logging processes may be defined on the system at one
time (configurable at system startup). The logid is an 8-character
identifier created with the :GETLOG command. To create a new logid, the
logfile name to be used by the process and the media (DISC or TAPE) it is
to reside on, must be specified. Other variables that may be specified
include: the group and account of a DISC logfile, a password, and what
to do when the logfile is full.
Identifying LOGIDs on the System
To find the logids currently known to the system and the attributes of
each, use the :LISTLOG command:
:LISTLOG
LOGID CREATOR CHANGE AUTO CURRENT LOG FILE
BON MARK.MPEM YES NO BON003.DOVI.MPEM
KATHY KATHY.MPEM YES YES KAT001.SNIDER.MPEM
TEST1 KATHY.MPEM NO NO LOGF.TEST.MPEM
A password will be displayed to the logid's creator only if the creator
has specified the ;PASS option:
:LISTLOG logid;PASS
LOGID CREATOR CHANGE AUTO CURRENT LOG FILE
TEST1/SECRET KATHY.MPEM NO NO LOGF.TEST.MPEM
Changing Attributes Associated with LOGIDs
All attributes associated with the logid can be changed by the creator of
the logid using the :ALTLOG command when the logging process is not
running. An application accessing the logging process supplies the logid
and password; this allows the other attributes to change without changing
an application. A logid can be removed from the system by the creator
only, using the :RELLOG command.
If a password is specified with :ALTLOG or :GETLOG it will be required
each time the User Logging process is accessed. For example, when using
the OPENLOG intrinsic. Any user with LG or OP capability which supplies
the logid and password will be allowed access to the logging process.
MPE/iX 5.0 Documentation