[ ijbswa-Feature Requests-3596294 ] Show full clickable URL + method in MS-Win console

SourceForge.net <[email protected]>
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Feature Requests item #3596294, was opened at 2012-12-15 08:55
Message generated for change (Comment added) made by fabiankeil
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=361118&aid=3596294&group_id=11118

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Win32 integration
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Martin Olsson (elof)
>Assigned to: Fabian Keil (fabiankeil)
>Summary: Show full clickable URL + method in MS-Win console

Initial Comment:
Concerning the MS console window...

1)
Currently, debug level 1 show lines like this:
2012-12-15 16:50:41.422 00000d40 Request: www.foo.se/bar/spacer

...while debug level 1024 display:
2012-12-15 16:50:41.422 00000d40 Crunch: Blocked: http://www.foo.se/bar/spacer

I would like both URLs to be displayed in a consistent way, i.e. add "http://" to the debug 1 message:
2012-12-15 16:50:41.422 00000d40 Request: http://www.foo.se/bar/spacer
2012-12-15 16:50:41.422 00000d40 Crunch: Blocked: http://www.foo.se/bar/spacer

2)
Currently, debug level 1024 show blocked URLs in blue, while level 1 does not.
I would like both URLs to be displayed in a consistent way, i.e. make URLs in debug 1 messages blue as well.

3)
Now that all URLs are shown in a consistent way, please also make all blue URLs clickable.
Any URL shown in the console should be clickable so one can easily follow them and debug individual requests without having to manually copy and paste the strings to a browser.

4)
Debug level 1 and 1024 only show the word "Request" or "Blocked" but no information about the method used.
Please add like this:
2012-12-15 16:50:41.422 00000d40 Request (GET): www.foo.se/bar/spacer
2012-12-15 16:50:41.422 00000d40 Request (POST): www.foo.se/bar/spacer
2012-12-15 16:50:41.422 00000d40 Crunch: Blocked (GET): http://www.foo.se/bar/spacer
2012-12-15 16:50:41.422 00000d40 Crunch: Blocked (POST): http://www.foo.se/bar/spacer

5)
Debug level 1024 currently only log that an URL has been blocked but not the reason.
Please add the reason, like this:
2012-12-15 16:50:55.111 00000d88 Crunch: Blocked (GET): http://www.example.com/nasty-ads/sponsor.gif {Nasty ads.}


6)
The sixth sub-request is not as important as the five ones above, but if it is easy to do, please add the server response code to the level 1 messages like this:
2012-12-15 16:51:42.144 00000e50 Request (GET:200): www.bar.se/baz
2012-12-15 16:51:42.144 00000e50 Request (POST:404): www.bar.se/gazonk

(There's no need to add a response code to the level 1024 message since the request haven't actually been sent to any server, so no true response code actually exist)


PS. I would much rather have the above items fixed than switching to using debug level 512 (common log format), since the latter won't show me the blocking reason, etc.


----------------------------------------------------------------------

>Comment By: Fabian Keil (fabiankeil)
Date: 2012-12-16 10:00

Message:
Thanks for the suggestions.

1) That seems reasonable to me but note that the protocol is only used for
http:// requests.

2) I believe that would be a side-effect of #1. If not, it's unlikely to
happen without patches due to being Windows-specific.

3) Windows-specific and I don't have a strong opinion on this.

4) This would duplicate information that is already shown with other debug
levels so I don't consider it useful.

5) Privoxy 3.0.20 already has a new debug directive to show the applying
actions which includes the block reason.

6) This again would duplicate information. It also would require delaying
the message until the response arrived.

I don't see why you would have to switch debug levels when you can simply
enable all the ones that provide information you care about.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=361118&aid=3596294&group_id=11118

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.