1 Mar 2004 16:09
Re:file() versus pipe() for kernel logging
Amodiovalerio Verde <amover <at> libero.it>
2004-03-01 15:09:37 GMT
2004-03-01 15:09:37 GMT
It seems the only difference between file() and pipe() is the way files are opened.
file() open files in read only , while pipe() open them in read-write.
There's also defined a source and a destination fifo() that is just another name for pipe().
Amodiovalerio [Hypo] Verde
---------- Initial Header -----------
From : syslog-ng-admin <at> lists.balabit.hu
To : syslog-ng <at> lists.balabit.hu
Cc :
Date : Sun, 29 Feb 2004 12:11:34 +1100
Subject : [syslog-ng]file() versus pipe() for kernel logging
> I was just wondering if anyone could explain the differences between pip()
> and file() when used as kernel log sources.
>
> For example the documentation suggests you would use the following statement
> to collect kernel logs:
>
> source s_file { file("/proc/kmsg"); };
>
> Most examples of syslog-ng.conf files I have seen have the following
> statement:
>
> source s_pipe { pipe("/proc/kmsg"); };
>
> Is there any difference between the two? Is one better than the other?
(Continue reading)
RSS Feed