Kirk Lund created GEODE-5340:
--------------------------------
Summary: 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
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)