pipe: Send messages to named pipes
The pipe()
driver sends messages to a named pipe like /dev/xconsole
.
The pipe driver has a single required parameter, specifying the filename of the pipe to open. The filename can include macros. For the list of available optional parameters, see pipe() destination options.
Declaration:
pipe(filename);
Warning
Starting with AxoSyslog 3.0.2, pipes are created automatically. In earlier versions, you had to create the pipe using the
mkfifo(1)
command.
Example: Using the pipe() driver
destination d_pipe { pipe("/dev/xconsole"); };
Last modified December 18, 2024: Merge pull request #90 from axoflow/minor-fixes-241218 (68cd7df)