From ecefba29ec0ad40da862756cf372372c7dacdea9 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Fri, 9 Jan 2015 00:17:10 -0600 Subject: 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. --- etc/inc/config.lib.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'etc/inc') 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); } } -- cgit v1.1