splogger - make entries in syslog
reads a series of messages and feeds them to syslog
the front of each message it puts tag
) and a
checks for alert:
at the beginning of
each message. It selects a priority of LOG_ALERT, LOG_WARNING, or LOG_INFO
logs messages with facility fac
must be numeric.
converts unprintable characters to question marks.
does not log blank lines.
folds messages after 800 characters, since syslog
handle long messages. splogger
uses a + after the timestamp to mark
Note that the syslog
mechanism is inherently unreliable: it does not
guarantee that messages will be logged. It is also very slow.