Actions
Bug #5626
closedUse of errline var in filter_log.inc
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.
Updated by Anonymous about 9 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