Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 19, 2020. It is now read-only.

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

Open
simonhf wants to merge 3 commits into
apache:masterapache/logging-log4php:masterfrom
simonhf:mastersimonhf/logging-log4php:masterCopy head branch name to clipboard
Open

tweak log4php file:line column to optionally ignore log4php wrappers and optionally shorten file path#13
simonhf wants to merge 3 commits into
apache:masterapache/logging-log4php:masterfrom
simonhf:mastersimonhf/logging-log4php:masterCopy head branch name to clipboard

Conversation

@simonhf

@simonhf simonhf commented Nov 6, 2014

Copy link
Copy Markdown

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

@kategray

Copy link
Copy Markdown

@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.

@rgoers

rgoers commented Oct 29, 2019

Copy link
Copy Markdown
Member

OK. Please go ahead with that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.