Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-883

traffic_logstats provides conflicting help

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0, 3.0.2
    • Logging
    • None
    • Mac OSX 10.6.8

    Description

      Usage says -l specifies the log file and is used to set output line length:

      [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
      

      Attachments

        Activity

          People

            i.galic Igor Galić
            maguro Alan Cabrera
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: