You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by shawjef3 <gi...@git.apache.org> on 2018/02/24 03:11:06 UTC

[GitHub] logging-log4j2 pull request #151: Message location release 2.x

GitHub user shawjef3 opened a pull request:

    https://github.com/apache/logging-log4j2/pull/151

    Message location release 2.x

    This exposes the location part of the Message to loggers, so that if the source location is known at compile time, it can be added to the log with no runtime cost. An example use is the scala loggers which are implemented with macros, and therefore have that information available at no cost to the developer, either.

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

    $ git pull https://github.com/shawjef3/logging-log4j2 message-location-release-2.x

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

    https://github.com/apache/logging-log4j2/pull/151.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 #151
    
----
commit 9c42073e9ca4f25a2f4075b1791eee2893534c54
Author: Jeff Shaw <sh...@...>
Date:   2017-12-09T19:01:35Z

    add abiltity for clients to provide source location

commit 4e3c83427861d79dbaf734babf88f42062dc272c
Author: Jeff Shaw <sh...@...>
Date:   2017-12-10T02:49:59Z

    Replace StackTraceElement with a class we have more control of.

commit c5d3855df2809164bfd610786317099d97a456d4
Author: Jeff Shaw <sh...@...>
Date:   2017-12-10T03:03:51Z

    more uses of SourceLocation

commit 48c78bde54f3119d2fe92657112b7442f597bcf6
Author: Jeff Shaw <sh...@...>
Date:   2017-12-12T01:39:53Z

    more uses of SourceLocation

commit 100aac85a951afdef4cb05e953f7910a910ebc4a
Author: Jeff Shaw <sh...@...>
Date:   2017-12-13T05:21:44Z

    Allow SourceLocation to be provided for traceEntry, traceExit, throwing, and catching.

commit 99068d589fc3d7837f02551363374c12eaf07aff
Author: Jeff Shaw <sh...@...>
Date:   2017-12-20T04:24:09Z

    remember to pass source

commit 5db78830978fd0f0f3a45e72bb2af2fa2aa6dcad
Author: Jeff Shaw <sh...@...>
Date:   2017-12-20T04:24:58Z

    preserve source

commit d94a848e565dd983b613a438edc8380443a072fc
Author: Jeff Shaw <sh...@...>
Date:   2017-12-20T04:54:40Z

    SourceLocation#toString is the same as StackTraceElement#toString

commit 2e98443206d42743ec87fa3079a8251f75e0f255
Author: Jeff Shaw <sh...@...>
Date:   2018-02-24T00:41:27Z

    Revert SourceLocation back to StackTraceElement.

commit 1ab8507183b92001cbff273b3a371f01dd672477
Author: Jeff Shaw <sh...@...>
Date:   2018-02-24T00:42:04Z

    add some building help

commit 096f4034e88d7ff37303b2b2d98534ef823f8072
Author: Jeff Shaw <sh...@...>
Date:   2018-02-24T01:49:14Z

    Merge remote-tracking branch 'upstream/release-2.x' into message-location-release-2.x
    
    # Conflicts:
    #	log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableObjectMessage.java
    #	log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java
    #	log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
    #	log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLogger.java
    #	log4j-core/src/main/java/org/apache/logging/log4j/core/impl/Log4jLogEvent.java
    #	log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java
    #	log4j-core/src/test/java/org/apache/logging/log4j/core/impl/Log4jLogEventTest.java

commit 1acc2d57d3690a29439383d19bf823b47f0ffb9c
Author: Jeff Shaw <sh...@...>
Date:   2018-02-24T01:54:18Z

    fix merge mistakes

----


---

[GitHub] logging-log4j2 pull request #151: Message location release 2.x

Posted by shawjef3 <gi...@git.apache.org>.
Github user shawjef3 closed the pull request at:

    https://github.com/apache/logging-log4j2/pull/151


---