You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/13 22:02:01 UTC

[jira] [Commented] (GEODE-5789) gfsh command "change loglevel" only updates the cache.getLogger

    [ https://issues.apache.org/jira/browse/GEODE-5789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685800#comment-16685800 ] 

ASF subversion and git services commented on GEODE-5789:
--------------------------------------------------------

Commit 591f3f7840ce38c6100bff2040f396ad2469175e in geode's branch refs/heads/develop from [~apache@the9muses.net]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=591f3f7 ]

GEODE-2644: Make LogWriterAppender optional and support log4j2.xml

LogWriterAppender is now configured in log4j2.xml and it supports
sessions that correspond with Cache lifecycle. This allows Geode to
pause and resume LogWriterAppender and GeodeConsoleAppender without
resorting to dynamically adding and removing appenders.

When the Cache exists, log events stop going to the Console and instead
go to the Geode log file. Whenever the Cache does not exist, log events
go only to the Console.

These changes remove as much of the Log4j2 Core manipulation as
possible.

Also fixed:
* GEODE-5789: Geode now updates log level of all Geode loggers.

List of changes:
* Change LogWriterAppender to be pausable and session-oriented
* Add GeodeConsoleAppender which is pausable
* Log4j2 Core dependency is now optional
* Internal Logging interfaces allow Logging service to be pluggable
* Log4j2 xml integration testing now uses JUnit Rule from Log4j2
* Reduce coupling between Logging and the rest of Geode
* Greatly increase test coverage for Logging


> gfsh command "change loglevel" only updates the cache.getLogger
> ---------------------------------------------------------------
>
>                 Key: GEODE-5789
>                 URL: https://issues.apache.org/jira/browse/GEODE-5789
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh, logging
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>
> The gfsh command "change loglevel" only updates the cache.getLogger. It should update all loggers used by Geode.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)