Menu

#1596 Common Log Format doesn't display full URL

3.0.21
closed
5
2016-04-09
2013-10-02
Anonymous
No

I would like to enable the Common Log Format using debug-flag 512, but when i do so, the log-file looks like this:

192.168.1.10 - - [02/Oct/2013:23:07:15 +0200] "GET / HTTP/1.1" 200 52092
192.168.1.10 - - [02/Oct/2013:23:07:15 +0200] "GET /js/229227223.js HTTP/1.1" 200 0
192.168.1.10 - - [02/Oct/2013:23:07:15 +0200] "GET /image/17587226/475/normal/422526113550a/Ibra.jpg HTTP/1.1" 200 16846

The full URL's are not displayed, the host/domain is missing. If i also enable debug-flag 1, it looks like this:

2013-10-02 23:04:52.756 2b85b690 Request: www.reddit.com/
192.168.1.10 - - [02/Oct/2013:23:04:52 +0200] "GET / HTTP/1.1" 200 18184
2013-10-02 23:04:53.333 2ba5b690 Request: ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
192.168.1.10 - - [02/Oct/2013:23:04:53 +0200] "GET /ajax/libs/jquery/1.7.2/jquery.min.js HTTP/1.1" 200 33673

So the information is there, it's just not written to the log in the CLF-mode. Why? Am i missing something in the config?

I run privoxy 3.0.21 on an Asus N66U-router with custom (merlin) firmware.

Discussion

  • Fabian Keil

    Fabian Keil - 2013-10-04

    The Common Log Format contains the request line as provided by the client.

    In case of intercepted requests the host isn't part of the request line and thus doesn't show up for "debug 512" messages. Unless you configured your client to use Privoxy as proxy everything is working as it should.

     
  • Fabian Keil

    Fabian Keil - 2013-10-04
    • assigned_to: nobody --> fabiankeil
    • status: open --> pending
     
  • Anonymous

    Anonymous - 2013-10-04

    I see. That's annoying. I guess i'll have to use both flags then, and merge the data in a later stage.

     
  • Fabian Keil

    Fabian Keil - 2016-04-09
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB