You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2018/06/21 21:14:00 UTC

[jira] [Assigned] (GEODE-5340) Allow disk store commands to use custom log4j2 config

     [ https://issues.apache.org/jira/browse/GEODE-5340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirk Lund reassigned GEODE-5340:
--------------------------------

    Assignee: Kirk Lund

> Allow disk store commands to use custom log4j2 config
> -----------------------------------------------------
>
>                 Key: GEODE-5340
>                 URL: https://issues.apache.org/jira/browse/GEODE-5340
>             Project: Geode
>          Issue Type: Improvement
>          Components: gfsh
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>
> The GFSH disk store commands such as "validate offline-disk-store" fork a new JVM in which to execute the actual command. The code that forks hard-codes the Log4j2 configuration:
> {noformat}
> static void configureLogging(final List<String> commandList) {
>   URL configUrl = LogService.class.getResource(LogService.CLI_CONFIG);
>   String configFilePropertyValue = configUrl.toString();
>   commandList.add("-Dlog4j.configurationFile=" + configFilePropertyValue);
> }
> {noformat}



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