unix-stream() Source Driver
The unix-stream() driver open an AF_UNIX socket and start listening on it for messages. The unix-stream() driver uses SOCK_STREAM semantics.
Important Information
In the official documentation, /dev/log
is the default entry for system logging. This, in fact, is a socket, not a regular file or a pipe. MacOS, however, uses /var/run/syslog
for the same. This needs to be kept in mind while referring to the documentation.
Status
Architecture | Status |
x86 | Works |
ARM | Works |
Configuration File Used
Proof
Note : unix-stream() does not support multiple lines as the record separator is the NL character, so if you embed "\n" in the log message, they will become separate messages.
Last updated