Project

General

Profile

Bug #5626

Use of errline var in filter_log.inc

Added by Phillip Davis over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Logging
Target version:
Start date:
12/11/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3
Affected Architecture:

Description

There are some log_error() inside "if debug" blocks in /etc/inc/filter_log.inc that use the variable name $errline (3 of them).
But $errline is not set anywhere.
Looks like that will not work.
Someone who cares might like to fix it or remove it.

Associated revisions

History

#1 Updated by Steve Beaver over 3 years ago

  • Status changed from New to Resolved

Looks like it's been this way since 2.0 at least so I guess this is not a heavily used feature :)

These functions doesn't seem to have a way of knowing the log line number and the sprintf is expecting a string, so I have simply changed it to output the log line it is having trouble parsing.

Also available in: Atom PDF