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

nabarun closed GEODE-5340.
--------------------------

> 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
>             Fix For: 1.7.0
>
>
> 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)

Reply via email to