The msgid utility generates message IDs.
A message ID is a numeric identifier that, with a high probability, uniquely identifies a message. The probability of two distinct messages having the same ID is about one in a million. Specifically, the message ID is a hash signature on the
message's unexpanded format string, generated by STRLOG_MAKE_MSGID() as defined in <sys/strlog.h>.
syslogd(1M) is a simple filter that takes strings as input and produces those same strings, preceded by their message IDs, as output. Every message logged by syslogd(1m) includes the message ID. The message ID is intended to serve as a small, language-independent identifier.
|