From 371d45a2bc53f389a1ab1bc2ff350dff10ff9146 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 24 Jul 2006 18:22:50 +0000 Subject: [PATCH] Send alerts to syslog as well. Suggested-by: BillM --- etc/inc/notices.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index 7b3001a7b9..3549a8911c 100644 --- a/etc/inc/notices.inc +++ b/etc/inc/notices.inc @@ -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; }