Use of errline var in filter_log.inc
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 Steve Beaver almost 6 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.