summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-01-09 00:17:10 -0600
committerChris Buechler <cmb@pfsense.org>2015-01-09 00:18:11 -0600
commitecefba29ec0ad40da862756cf372372c7dacdea9 (patch)
tree0c3ce6ec4f11d56373cd811ae67498f47d448f48
parentd97dd424371014e766f63cbbffa0e92e0748f38e (diff)
downloadpfsense-ecefba29ec0ad40da862756cf372372c7dacdea9.zip
pfsense-ecefba29ec0ad40da862756cf372372c7dacdea9.tar.gz
disable this PHP error logging, errors that are really significant end up with a crash report, this is more noise than useful at this stage in 2.2.
-rw-r--r--etc/inc/config.lib.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index 3271255..aede42d 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -924,8 +924,9 @@ function pfSense_clear_globals() {
if ( $error !== NULL) {
if ( $error['type'] != E_NOTICE ) {
$errorstr = "PHP ERROR: Type: {$error['type']}, File: {$error['file']}, Line: {$error['line']}, Message: {$error['message']}";
- print($errorstr);
- log_error($errorstr);
+ // XXX: comment out for now, should re-enable post-2.2
+ //print($errorstr);
+ //log_error($errorstr);
}
}
OpenPOWER on IntegriCloud