Send alerts to syslog as well.

This commit is contained in:
Scott Ullrich 2006-07-24 18:22:50 +00:00
parent 6909a83662
commit 371d45a2bc

View File

@ -59,7 +59,7 @@ function file_notice($id, $notice, $category = "General", $url = "", $priority =
$queueout = fopen($notice_path, "w");
fwrite($queueout, serialize($queue));
fclose($queueout);
log_error("New alert found: $notice");
log_error("New alert found: {$notice}");
return $queuekey;
}