You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Dave Barnes (JIRA)" <ji...@apache.org> on 2017/03/23 16:47:41 UTC
[jira] [Resolved] (GEODE-2379) Document new behavior of export logs
[ https://issues.apache.org/jira/browse/GEODE-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Barnes resolved GEODE-2379.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> Document new behavior of export logs
> ------------------------------------
>
> Key: GEODE-2379
> URL: https://issues.apache.org/jira/browse/GEODE-2379
> Project: Geode
> Issue Type: Sub-task
> Components: docs
> Reporter: Joey McAllister
> Assignee: Dave Barnes
> Fix For: 1.2.0
>
>
> the new command help:
> 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)?]
> PARAMETERS
> dir
> Local directory to which log files will be written. This is only used when you are exporting logs using http connection. If not specified, user.dir will be used.
> Required: false
> group
> Group of members whose log files will be exported.
> Required: false
> member
> Name/Id of the member whose log files will be exported.
> Required: false
> log-level
> Minimum level of log entries to export. Valid values are: fatal, error, warn, info, debug, trace and all. The default is "INFO".
> Required: false
> Default (if the parameter is not specified): INFO
> only-log-level
> Whether to only include those entries that exactly match the --log-level specified.
> Required: false
> Default (if the parameter is not specified): false
> merge-log
> Whether to merge logs after exporting to the target directory. -- deprecated
> Required: false
> Default (if the parameter is not specified): false
> start-time
> Log entries that occurred after this time will be exported. The default is no limit. Format: yyyy/MM/dd/HH/mm/ss/SSS/z OR yyyy/MM/dd
> Required: false
> end-time
> Log entries that occurred before this time will be exported. The default is no limit. Format: yyyy/MM/dd/HH/mm/ss/SSS/z OR yyyy/MM/dd
> Required: false
> logs-only
> Whether to only export logs
> Required: false
> Default (if the parameter is specified without value): true
> Default (if the parameter is not specified): false
> stats-only
> Whether to only export statistics
> Required: false
> Default (if the parameter is specified without value): true
> Default (if the parameter is not specified): false
> changes are: --dir is not required anymore. added logs-only and stats-only options. --merge-log is deprecated, group and member can be comma separated strings.
> Also note down in the docs: when this command is executed over jmx, the exported logs will be saved as exportedlogs_xxx.zip in the connected locator's working directory. If executed over http, the zip will be saved in specified dir in the user's client machine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)