On 3/17/23 11:56, Alan Altmark wrote:
A = Action required
D = Decision  (I think this is no longer used)
E = Error
I = Information
R = Response
S = Severe error
T = Terminating error
W  (CP) = Disabled wait state (HELP HCP1010W)
W (other)  = Warning


Some of these, especially of those which are common with CMS, bear a strong correlation to SYSLOG levels. That's handy. Really very handy.

From the "xmitmsgx" project ...

/* MSGLEVEL_DEBUG           LOG_DEBUG   7 debug-level messages, not used here */
#define MSGLEVEL_INFO     'I' /* LOG_INFO    6 informational */
#define MSGLEVEL_REPLY    'R' /* LOG_NOTICE  5 normal but significant condition, ATTENTION */
#define MSGLEVEL_WARNING  'W' /* LOG_WARNING 4 warning conditions */
#define MSGLEVEL_ERROR    'E' /* LOG_ERR     3 error conditions */
#define MSGLEVEL_SEVERE   'S' /* LOG_CRIT    2 critical conditions */
#define MSGLEVEL_TERMINAL 'T' /* LOG_ALERT   1 action must be taken immediately */
/* MSGLEVEL_EMERG           LOG_EMERG   0 reserved */


SYSLOG Is a whole nutha topic, but a couple of the functions in the "xmitmsgx" project will optionally log the message in addition to printing it.



--
-- R; <><


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to