diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-01-09 00:17:10 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-01-09 00:18:11 -0600 |
commit | ecefba29ec0ad40da862756cf372372c7dacdea9 (patch) | |
tree | 0c3ce6ec4f11d56373cd811ae67498f47d448f48 /etc/inc | |
parent | d97dd424371014e766f63cbbffa0e92e0748f38e (diff) | |
download | pfsense-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.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.lib.inc | 5 |
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); } } |