logging-log4php icon indicating copy to clipboard operation
logging-log4php copied to clipboard

tweak log4php file:line column to optionally ignore log4php wrappers and optionally shorten file path

Open simonhf opened this issue 10 years ago • 2 comments

Inspired by [1]. Useful if log4php is itself wrapped by a caller class which you do not want showing up in syslog as the file:line. Plus, if file is unnecessarily long then this patch allows the path to be shortened.

[1] http://stackoverflow.com/questions/15219327/php-log4php-dynamically-set-fileline-column

simonhf avatar Nov 06 '14 00:11 simonhf

@rgoers Like the other commit, looks good in theory, but I'd like to get a unit test up to make sure it's behaving properly before committing this to develop.

kategray avatar Oct 28 '19 22:10 kategray

OK. Please go ahead with that.

rgoers avatar Oct 29 '19 04:10 rgoers