<html><head></head><body>The syslog.conf(5) man page describes the piped output differently than you describe.  It says, "A pipe to another program (beginning with a leading pipe symbol). The given program is started and presented the selected messages on its standard input. If the program exits, syslogd(8) tries to restart it."<br><br>If having your program started by syslogd doesn't meet requirements, perhaps syslogc(8) might work for you.<br><br><div class="gmail_quote">On September 29, 2020 5:06:21 PM EDT, Mark Moellering <markmoellering@psyberation.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Everyone,<br><br>I think this isn't too hard but I am having trouble finding an answer.  <br>I want to send log files to an already running program.<br><br>So I want to run a custom program, which will read from stdin and then <br>[do-some-stuff] .  I then want to have syslog pipe the log to the <br>already running program.  It is my understanding that if I write<br><br>local7.*       | /path/to/program<br><br>in syslog.conf , then every time a log comes in, it will execute the <br>program again, as oppose to sending the log to the already running <br>program / process<br><br><br>So how do I specify sending it to an already running process?<br><br><br>Thanks<br><br><br>Mark<hr>Semibug mailing list<br>Semibug@lists.nycbug.org<br><a href="http://lists.nycbug.org:8080/mailman/listinfo/semibug">http://lists.nycbug.org:8080/mailman/listinfo/semibug</a><br></pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>