| SYSLOGC(8) | System Manager's Manual | SYSLOGC(8) |
syslogc — collect
messages from syslog memory buffer
syslogc |
[-Ccfo] [-n
lines] [-s
reporting_socket] logname |
syslogc |
-q |
syslogc collects messages from the
syslogd(8) memory buffer specified by the
logname argument.
For syslogc to work,
syslogd(8) must be configured with one or more memory
buffer logs (see syslog.conf(5) for details) and have a
reporting socket location specified on the command line (using the
-s option to syslogd(8)).
By default, syslogc will query the
specified log and return all entries to standard output.
The options are as follows:
-C-c-f-f option in tail(1).-n
lines-o-q*’) will be appended to its
name.-s
reporting_socketThe syslogc command first appeared in
OpenBSD 3.5.
The buffer space used for writing logs through the socket is limited. Thus it is possible to lose logs when running in continuous mode. Losses are reported on standard error.
| March 31, 2022 | Debian |