Question about qslog

Adam V.
2014-02-01
2014-02-02
  • Adam V.

    Adam V. - 2014-02-01

    Hello,

    So I have been familiarizing myself with this great Apache module, and
    have decided to branch out into using some of the tools that come
    packaged with the module (specifically, qslog). However, for the life of
    me I cannot seem to get this to function properly, no matter how I
    configure it.

    I have tried using the suggested options (within and without "IfModule
    log_config_module" &/or "IfModule qos_module" wrappers) both from the
    main site:

    CustomLog "|/usr/local/bin/qslog -o logs/qos_log -x -f ISBTQkU" "%h %>s
    %b %T %{mod_qos_ev}e %k %{mod_qos_user_id}e"

    And from the man page:

    CustomLog "|/usr/local/bin/qslog -f ISBTQ -x -o
    /usr/local/apache/logs/qos_log" "%h %>s %b %T %{mod_qos_ev}e"

    LogFormat "%t %h \"%r\" %>s %b \"%{User-Agent}i\" %T"
    TransferLog "|/usr/local/bin/qslog -f ..IRSB.T -x -o
    /usr/local/apache/logs/qos_log"

    And nothing seems to work. The only output I am ever able to get logged
    looks like this:

    27.01.2014
    15:09:00;r/s;0;req;0;b/s;0;esco;0;1xx;0;2xx;0;3xx;0;4xx;0;5xx;0;av;0;<1s;0;1s;0;2s;0;3s;0;4s;0;5s;0;>5s;0;ip;3;usr;1;qV;0;qS;0;qD;0;qK;0;qT;0;qL;0;qs;0;sl;0.07;

    Which appears to simply be broken output, as it looks like it is simply
    logging all possible options, with zero values. It also appears to
    simply be logging these every minute, regardless of whether there is any
    traffic.

    I even tried just running the comman straight from the terminal session,
    and generating some traffic for it to parse, and the output remained the
    same.

    Might I ask if I am doing something wrong in my configurations? Or
    perhaps I simply misunderstand how this utility is meant to function?

    Thanks in advance.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks