Project

General

Profile

Actions

Bug #5626

closed

Use of errline var in filter_log.inc

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

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

0%

Estimated time:
Plus Target Version:
Release Notes:
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.

Actions #1

Updated by Anonymous over 8 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.

Actions

Also available in: Atom PDF