[
https://issues.apache.org/jira/browse/GEODE-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045008#comment-16045008
]
Kenneth Howe commented on GEODE-2420:
-------------------------------------
Revised Gfsh help for the export logs command --file-size-limit option:
{code}
gfsh>help export logs
NAME
export logs
IS AVAILABLE
false
SYNOPSIS
Export the log files for a member or members.
SYNTAX
export logs [--dir=value] [--group=value(,value)*]
[--member=value(,value)*] [--log-level=value] [--only-log-level=value]
[--merge-log=value] [--start-time=value] [--end-time=value]
[--logs-only(=value)?] [--stats-only(=value)?] [--file-size-limit(=value)?]
PARAMETERS
...
file-size-limit
Limits total unzipped size of the exported files. Specify zero for no
limit. Value is in megabytes by default or [k|m|g|t] may be specified.
Required: false
Default (if the parameter is specified without value): 0
Default (if the parameter is not specified): 100m
gfsh>
{code}
The revised message when exported logs size exceeds the limit:
{code}
gfsh>export logs --file-size-limit=1k
Estimated exported logs expanded file size = 95599, file-size-limit = 1024. To
disable exported logs file size check use option "--file-size-limit=0".
gfsh>
{code}
> Warn a user if they try to export too much data
> -----------------------------------------------
>
> Key: GEODE-2420
> URL: https://issues.apache.org/jira/browse/GEODE-2420
> Project: Geode
> Issue Type: Sub-task
> Components: configuration, docs, gfsh
> Reporter: Jared Stewart
> Assignee: Kenneth Howe
> Fix For: 1.2.0
>
>
> We should warn a user and prompt for confirmation before trying to perform an
> `export logs` operation that would result in a file over some threshold.
> (Logs and stats have the potential to be very large.)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)