Re: multiple domains one log file

"Aengus" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <002101c87e25$e0dfc430$c2041fac@WC515ALawlo>
Hildreth, Steve <[email protected]> wrote:
> I attempted to implement the parameter below and was not successful.
> Let me include a couple line from a log file to make sure I correctly
> explained what I am asking.  Also, I am using analog 5.32.
> 
> What I am trying to report on are all log entries that are for the
> domain www.lastudentscount.org while excluding all log entries for the
> domain www.lausd.net.
> 
> 
> 10.82.26.193 - - [04/Mar/2008:10:05:27 -0800] "GET
> /Clinton_MS/work_files/compass.gif HTTP/1.1" 304 -
> "http://www.lausd.net/Clinton_MS/" "Mozilla/4.0 (compatible; MSIE 6.0;
> Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR
> 2.0.50727)" 
> 
> 204.108.65.10 - - [04/Mar/2008:10:10:18 -0800] "GET
> /images/LAUSDmap.jpg HTTP/1.1" 200 441023
> "http://www.lastudentscount.org/aboutlausd.html" "Mozilla/4.0
> (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 
> 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"

Okay, there's nothing in those log entries to indicate that they are from different "virtual domains". The 2 entries in the middle that start with http:// are referrer fields - I'm pretty sure that if you look at your log files closely, you'll find http://www.google.com showing up in that field on a regular basis, and I'm pretty sure you don't have a "virtual domain" called www.google.com :-)

You'll have to modify your web servers log settings to do what you want to do. Right now, it's just logging all requests for both servers into a single logfile, without indicating which entries belong to which server.

Aengus

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------
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.