[ https://issues.apache.org/jira/browse/GEODE-5340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535117#comment-16535117 ]
Kirk Lund commented on GEODE-5340: ---------------------------------- The fix is on develop with the wrong Jira ticket in the comment: {noformat} commit 6a9a98b0bae561407230c5354fc95af0eae49268 Author: Kirk Lund <kl...@apache.org> Date: Thu Jun 21 13:24:46 2018 -0700 GEODE-5430: Allow disk store commands to use custom log4j2 config If you edit the gfsh script to specify a custom log4j2 xml configuration file, this change will propagate that custom config file to any forked disk store commands. {noformat} > 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)