[
https://issues.apache.org/jira/browse/GEODE-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947580#comment-15947580
]
Patrick Rhomberg edited comment on GEODE-2725 at 3/29/17 5:45 PM:
------------------------------------------------------------------
I believe that the {code}--dir=./tmp{code} will be discarded also, if the
command is not sent over HTTP/*S. Such is the behavior described in the
{code}--dir={code} help text:
> Value is required for parameter "dir: Local directory to which logs will be
> written. This is used only when you are exporting logs using an http
> connection. If not specified, logs are written to the location specified by
> the user.dir system property.
was (Author: prhomberg):
I believe that the `--dir=./tmp` will be discarded also, if the command is not
sent over HTTP/*S. Such is the behavior described in the `--dir=` help text:
> Value is required for parameter "dir: Local directory to which logs will be
> written. This is used only when you are exporting logs using an http
> connection. If not specified, logs are written to the location specified by
> the user.dir system property.
> 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)