summaryrefslogtreecommitdiffstats
path: root/etc/inc/notices.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-24 18:19:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-24 18:19:14 +0000
commit6909a83662b3084a59e3d8162a8aba5e63e097f3 (patch)
treef42c67d05d6debe4c6cea6d6837d4e672946a972 /etc/inc/notices.inc
parent232fc34c381a15ee186f7bd48a2933931959429e (diff)
downloadpfsense-6909a83662b3084a59e3d8162a8aba5e63e097f3.zip
pfsense-6909a83662b3084a59e3d8162a8aba5e63e097f3.tar.gz
Send alerts to syslog as well. Suggested-by: BillM
Diffstat (limited to 'etc/inc/notices.inc')
-rw-r--r--etc/inc/notices.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index 2c1584f..7b3001a 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -59,6 +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");
return $queuekey;
}
OpenPOWER on IntegriCloud