summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/filter_log.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-11 07:15:16 -0200
committerRenato Botelho <renato@netgate.com>2015-12-11 07:15:16 -0200
commit53f1728bab048bb1a4fab9c2cc09e9aee85d4069 (patch)
treeedfe2bb9106bbb013e82125eaad589c72b9b0c06 /src/etc/inc/filter_log.inc
parentc7151dff04ad719d5304db3611962241ef369d63 (diff)
parenteaf461f994abee765ab6f99560327e69b94b1d9c (diff)
downloadpfsense-53f1728bab048bb1a4fab9c2cc09e9aee85d4069.zip
pfsense-53f1728bab048bb1a4fab9c2cc09e9aee85d4069.tar.gz
Merge pull request #2195 from phil-davis/patch-8
Diffstat (limited to 'src/etc/inc/filter_log.inc')
-rw-r--r--src/etc/inc/filter_log.inc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/etc/inc/filter_log.inc b/src/etc/inc/filter_log.inc
index 4a478ce..848ff1d 100644
--- a/src/etc/inc/filter_log.inc
+++ b/src/etc/inc/filter_log.inc
@@ -236,11 +236,6 @@ function parse_unknown_log_line($line) {
list($all, $flent['time'], $flent['message']) = $log_split;
- if($g['debug']) {
- log_error(sprintf(gettext("There was a error parsing: %s. Please report to mailing list or forum."), $flent['process']));
- return "";
- }
-
/* If there is time, and message, fields, then the line should be usable/good */
if (!((trim($flent['time']) == "") && (trim($flent['message']) == ""))) {
return $flent;
@@ -276,11 +271,6 @@ function parse_system_log_line($line) {
list($all, $flent['time'], $flent['host'], $flent['process'], $flent['pid'], $flent['message']) = $log_split;
- if($g['debug']) {
- log_error(sprintf(gettext("There was a error parsing: %s. Please report to mailing list or forum."), $flent['process']));
- return "";
- }
-
/* If there is time, process, and message, fields, then the line should be usable/good */
if (!((trim($flent['time']) == "") && (trim($flent['process']) == "") && (trim($flent['message']) == ""))) {
return $flent;
OpenPOWER on IntegriCloud