[
https://issues.apache.org/jira/browse/GEODE-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967905#comment-15967905
]
ASF subversion and git services commented on GEODE-2725:
--------------------------------------------------------
Commit 122e65058f643d8ac862398e5baeba59c2628d8c in geode's branch
refs/heads/feature/GEODE-2632 from [~prhomberg]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=122e650 ]
GEODE-2725: export logs now honors --dir when connected via JMX, with
respect to the manager filesystem.
* Absolute Paths are better. Test class inheritance is cumbersome.
* Removed --dir usage from ExportLogsDUnitTests:
startAndEndDateCanIncludeLogs and
testExportWithStartAndEndDateTimeFiltering; these tests expected logs
to appear in the locator working directory and the --dir option was
not actually being used.
* Usage of LocalLocatorStarterRules reverted in
ExportLogsIntegrationTest as locator working directory access is
required.
* this closes #438
Corrected mismatched merging of strings against offline help golden file.
> export logs does not honor --dir
> --------------------------------
>
> Key: GEODE-2725
> URL: https://issues.apache.org/jira/browse/GEODE-2725
> Project: Geode
> Issue Type: Sub-task
> Components: gfsh, logging
> Reporter: Swapnil Bawaskar
> Assignee: Patrick Rhomberg
>
> When connected to locator via jmx, run the following command:
> {noformat}
> gfsh>export logs --dir=tmp
> {noformat}
> Observer that the dir option is ignored:
> {noformat}
> Logs exported to the connected member's file system:
> /Users/sbawaskar/apache/geode/geode-assembly/build/install/apache-geode/loc1/exportedLogs_1490721273215.zip
> {noformat}
> The --tmp option is honored when connected via http.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)