Dj-Garfield / logstalgia

Automatically exported from code.google.com/p/logstalgia
0 stars 0 forks source link

Display Full URI (incl hostname) #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the latest version of Logstalgia with '-x'
2. Note that the paths shown in the application are *only* paths relative
to the root of the website and strips the full hostnames.

What is the expected output? What do you see instead?

  I expected to see the full URL being requested, but only see the file path.

What version of the product are you using? On what operating system?

  I'm using the latest release.

Please provide any additional information below.

  I'm not entirely sure that this should be classed as a bug (it may be
reparable with a command line argument that I haven't found yet), but there
doesn't seem to be anywhere I could post a question.

  I use Logstalgia on my Squid Proxy log (which is set to common HTTPD
format; i.e. apache-style). With the version that comes with my Linux
distribution (0.9.2-1 on Ubuntu 9.10) I can see the website that is being
accessed as well as the path within it. With the latest version of
Logstalgia (1.0.0) compiled from source, this is not the case.

A sample Squid log entry:

192.168.2.23 - - [15/May/2010:19:45:49 +1000] "GET
http://clients1.google.com.au/generate_204 HTTP/1.1" 204 281
TCP_NEGATIVE_HIT:NONE

Original issue reported on code.google.com by matt...@gmail.com on 15 May 2010 at 9:46

GoogleCodeExporter commented 8 years ago
Ah after some research it appears you deliberately altered this in version 
0.9.8. Can
I ask why?

Original comment by matt...@gmail.com on 15 May 2010 at 9:52

GoogleCodeExporter commented 8 years ago
Hi.

For me it was more useful to get more detail in the available space than have 
half of
it taken up by a static hostname, but I probably jumped the gun making it the 
default
behaviour.

I will change this to be an option.

The -x option is refering to the requesters hostname.

Original comment by acaudw...@gmail.com on 15 May 2010 at 11:07

GoogleCodeExporter commented 8 years ago
This is the default behavior again now. --hide-url-prefix is now used to hide 
the protocol and hostname.

Original comment by acaudw...@gmail.com on 24 Jan 2011 at 12:19