process_syslog: remove debugging statements

Currently, filtered syslog messages (via syslog_filter) are spewed into
stdout (unlike unfiltered ones), presumably for debugging. When
syslog.php has been invoked from rsyslog, writing to stdout results in
an EPIPE which is unhandled and hence syslog.php dies. Remove them, as
they're completely redundant and of dubious gains to debugging.
This commit is contained in:
Faidon Liambotis
2014-01-11 17:34:45 +02:00
parent af591a1547
commit af1e82ddbb

View File

@@ -44,8 +44,6 @@ function process_syslog($entry, $update)
{
if (strpos($entry['msg'], $bi) !== FALSE)
{
print_r($entry);
echo('D-'.$bi);
return $entry;
}
}