logformat problem

Issue #14 closed
KS created an issue

I get "Skipping bad record" and "No valid records found!" for all my logs. They process fine with awffull/webalizer.

I use "combined" logformat as always.

LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined

Comments (6)

  1. StoneSteps repo owner

    I did try a CLF file with the option -F clf, as well as with -F apache and ApacheLogFormat in webalizer.conf configured as this:

    ApacheLogFormat     %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"
    

    , and both worked properly. Can you post a couple of lines that are failing here? You can replace sensitive data, like IP addresses and URLs with some generic equivalents, as long as these sample lines are failing the same way.

  2. KS reporter

    Ok, so I would have to explicitely specify an ApacheLogFormat option? Ah, or use "LogType clf". Ah, the default has been changed to IIS. It used to be Apache format I guess. And Webalizer used an implicit LogFormat auto. Thanks.

  3. StoneSteps repo owner

    Yes, I changed the default to IIS soon after forking the project. I probably wouldn't do it if I did this now, but that's what it is. Glad you found the problem.

  4. Log in to comment