GitHub user PurelyApplied opened a pull request:

    https://github.com/apache/geode/pull/432

    GEODE-1274: Migration from PulseLogWriter to Log4j standard.

    To avoid dependency on geode-core, the pulse loggers are instantiated 
directly from LogManager, rather than canonical LogService (which itself 
extends LogManager).
    
    Included in this patch:
    - Removal of PulseLogWriter and associated classes
    - Significant reduction of explicit logging level state checks, relying 
instead on Log4j handling.
    - Significant reduction of string concatenation, relying instead on Log4j2 
string substitution.
    - Reduction of logging using an exception's e.getMessage(), favoring 
instead to pass the exception itself to the logger for the stacktrace.
    - Multiple identical exception blocks collapsed to single exception catch.

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

    $ git pull https://github.com/PurelyApplied/geode bugfix/GEODE-1274

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

    https://github.com/apache/geode/pull/432.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 #432
    
----
commit 396ab06677e1e21fff060ba6ca1fb159f99a9997
Author: Patrick Rhomberg <prhomb...@pivotal.io>
Date:   2017-03-22T20:27:34Z

    GEODE-1274: Migration from PulseLogWriter to Log4j standard and removal of 
associated classes.
    
    To avoid dependency on geode-core, the pulse loggers are instantiated 
directly from LogManager, rather than canonical LogService (which itself 
extends LogManager).
    
    Significant reduction of logging level state checks, relying on Log4j 
handling.
    Significant reduction of string concatenation, relying on Log4j2 string 
substitutions.
    Reduction of logging using an exception e.getMessage, favoring instead 
passing the exception itself for the stacktrace.
    Multiple identical exception blocks collapsed.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to