SYSLOG Copyright (c) 1996 Allegro Consultants, Inc. SYSLOG = MPE/iX System Logging Control SYSLOG allows you to control the system logging settings. The INFO command will show you global information about logging, and the SHOW command will list the current setting for all of the system logging options. You can turn various logging options on or off with the ON and OFF commands. NOTE: the effect is immediate. You do not need to reboot to have the option setting take effect! Note: the effect is limited for this bootup. When you reboot MPE/iX, the default logging options are taken from the system configuration files. You can change those defaults by using :SYSGEN's LOG SL command. ---------- Commands: DUMP Dumps simple list of "ON" logging option bits. Exit Terminates SYSLOG. Help Displays this information. INFO Shows global information about logging. NEXTLOG [log#] If log# is omitted, reports the current and next logfile number. If log# is specified, then SYSLOG tells the logging system to use log# as the next logfile number. Note: this does not affect the next NMLG logfile number. NMLG [nmlg#] If nmlg# is omitted, reports the current and next nmlg number. If nmlg# is specified, then SYSLOG tells the network logging system to use nmlg# as the next nmlg number. Note: this does not affect the next LOG#### logfile number. NMTRACE [nmtrace#] If nmtrace# is omitted, reports the current and next nmtrace number. If nmtrace# is specified, then SYSLOG tells the network logging system to use nmtrace# as the next nmtrace number. Note: this does not affect the next LOG#### logfile number or the next NMLG number. OFF Lists logging options that are OFF. ON Lists logging options that are ON. NOPRIV [READ] PRIV [READ] Controls whether or not SYSLOG uses privileged mode to read system logging information. PURGELOGS Tells SYSLOG to purge LOG####.PUB.SYS and NMLG####.PUB.SYS. RESTORE Tells SYSLOG to restore the logging options to the values that were in effect when SYSLOG started. RESUMELOG Tells SYSLOG to do a :RESUMELOG command, and wait for a bit to see if it worked. RESET loggingoption SET loggingoption SET turns ON the specified logging options, RESET turns them OFF. All logging options with matching names are affected. For example, to turn on all FILE_ options, do: SET file_ An "@" may be used to refer to all logging options. Show [loggingoption] Lists the values of the specified options Note: SHOW by itself is treated as SHOW ALL You can see all of the logging options that begin with "file" by doing: SHOW FILE SWITCHLOG Issues a :SWITCHLOG command. Note: you must have OP capability for this command. Note: this does not affect NMLG logfiles. SYSLOG [ENABLE] [DISABLE] Attempts to enable or disable system logging. Note: it does this simply by setting/resetting a flag in the system logging globals...no other action is taken. CLEARREDO DO [prefix | redo#] LISTREDO REDO [prefix | redo#] The only SYSLOG command that affects NMLG#### files is PURGELOGS. All logging options have associated integer values. Most are in the range 100..163. A few are in the range 200..263. Because those that are of the form 2xx have no 1xx version, SYSLOG will let you enter 2xx numbers and will silently treat them as 1xx numbers. (This is what MPE/iX does internally.) Syslog 20140822