261a262,263
> 	my $allskiphosts = ($config{LogProcessor}{ExcludeHosts}) ? $config{LogProcessor}{ExcludeHosts} : ""; # default to none
> 	my @skiphostsregex = split(" ", $allskiphosts);
276a279,291
> 					my $tmp_record_remote_addr = $self->find_remote_addr($tmp_record, $logtype);
> 					if ($tmp_record_remote_addr) # not a blank remote host or address
> 					{
> 						foreach my $skipexpression (@skiphostsregex)
> 						{
> 						     if( $tmp_record_remote_addr =~ /$skipexpression/ )
> 						     {
> 							print " Skipping " . $tmp_record_remote_addr . " because it matches the ExcludeHosts pattern " . $skipexpression. "\n" if ($verbose > 2);
> 							next;
> 						     }
> 						}
> 					}
> 
339a355,380
> sub find_remote_addr
> # finds the returned HTTP code from a log record, if available
> {
>         my $self = shift;
>         if (@_)
>         {
>                 my $tmprecord = shift;
>                 my @record_arry;
>                 @record_arry = split(" ", $tmprecord);
>                 # hardcoded to most apache log formats, included common and combined
>                 # for the moment... TODO
>                 my $logtype = shift;
>                 # print "log type $logtype" if ($verbose > 2);
>                 if ($logtype eq "plain")
>                 {
>                         $tmprecord = "";
>                 }
>                 else #common combined full or w3c
>                 {
>                         $tmprecord = $record_arry[0];
>                 }
>         #print "Remote Addr $tmprecord \n" if (($verbose > 2) and ($tmprecord ne ""));
>         return $tmprecord;
>         }
> }
> 
663a705,708
> =item $processor->find_remote_addr
> 
> Given a log record and the type of the log (common log format, flat list of URIs, etc), extracts the remote host or ip
> 
