traffic_logcat

    To analyse a binary log file using standard tools, you must first convert it to ASCII. traffic_logcat does exactly that.

    PATH``, --output_file PATH

    Specifies where the command output is directed.

    -a``, --auto_filename

    Automatically generates the output filename based on the input filename. If the input is from stdin, then this option is ignored. For example:

    generates:

    -f``, --follow

    Follows the file, like tail(1) -f

    Attempts to transform the input to Netscape Common format, if possible.

    -E``, --elf

    Attempts to transform the input to Netscape Extended format, if possible.

    -S``, --squid

    Attempts to transform the input to Squid format, if possible.

    -2``, --elf2

    Attempt to transform the input to Netscape Extended-2 format, if possible.

    -T``, --debug_tags

    -h``, --help

    Print usage information and exit.

    -V``, --version

    Print version information and exit.

    Note

    Use only one of the following options at any given time: -S, -C, -E, or -2.

    If no input files are specified, then traffic_logcat reads from the standard input (stdin). If you do not specify an output file, then traffic_logcat writes to the standard output ().

    For example, to convert a binary log file to an ASCII file, you can use the traffic_logcat command with either of the following options below:

    tail(1)