You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/07/16 18:39:59 UTC
[jira] [Commented] (TS-883) traffic_logstats provides conflicting
help
[ https://issues.apache.org/jira/browse/TS-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066462#comment-13066462 ]
Leif Hedstrom commented on TS-883:
----------------------------------
Can you try installing the libcap libraries, and recompile? Maybe we've introduced another dependency there (since logstats and logcat and similar tools use the same "core"). libcap and libcap-devel (or -dev), and make sure configure finds it.
> traffic_logstats provides conflicting help
> ------------------------------------------
>
> Key: TS-883
> URL: https://issues.apache.org/jira/browse/TS-883
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging
> Affects Versions: 3.0.0
> Environment: Mac OSX 10.6.8
> Reporter: Alan Cabrera
>
> Usage says {{-l}} specifies the log file and is used to set output line length:
> {code}
> [daruma:trafficserver 617]$ ./bin/traffic_logstats -h
> Usage: traffic_logstats [-l logfile] [-o origin[,...]] [-O originfile] [-m minhits] [-inshv]
> switch__________________type__default___description
> -h, --help tog true Give this help
> -f, --log_file str (null) Specific logfile to parse
> -o, --origin_list str (null) Only show stats for listed Origins
> -O, --origin_file str (null) File listing Origins to show
> -M, --max_orgins int 0 Max number of Origins to show
> -u, --urls int 0 Produce JSON stats for URLs, argument is LRU size
> -U, --show_urls int 0 Only show max this number of URLs
> -A, --as_object tog false Produce URL stats as a JSON object instead of array
> -i, --incremental tog false Incremental log parsing
> -S, --statetag str (null) Name of the state file to use
> -t, --tail int 0 Parse the last <sec> seconds of log
> -s, --summary tog false Only produce the summary
> -j, --json tog false Produce JSON formatted output
> -c, --cgi tog false Produce HTTP headers suitable as a CGI
> -m, --min_hits i64 0 Minimum total hits for an Origin
> -a, --max_age int 0 Max age for log entries to be considered
> -l, --line_len int 78 Output line length
> -T, --debug_tags str (null) Colon-Separated Debug Tags
> -V, --version tog false Print Version Id
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira