GitHub user simonhf opened a pull request:

    https://github.com/apache/logging-log4php/pull/13

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

    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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/simonhf/logging-log4php master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/logging-log4php/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13
    
----
commit 6ae0e4f04e01731c9bf5a7061e33460d88c11aff
Author: Simon Hardy-Francis <[email protected]>
Date:   2014-11-05T23:59:26Z

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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to