22 Jan
2001
22 Jan
'01
3:44 a.m.
I have a problem with the program destination when having the following in my syslog-ng.conf file
destination dhcp { program("script-program"); };
it will run the script-program once when reloading syslog-ng not when matching the filter.
I've been using a C program rather than a script. It seems that syslog-ng loads the program once, and sends input to it whenever the filter matches. That is, the C program must while ((r = read(0, buffer, Buf_Len)) > 0) { process input } I suppose your script would need to do the same thing. Wendell Turner
8996
Age (days ago)
8996
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wendell Turner