ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



LOGRESOLVE(8)                                    logresolve                                    LOGRESOLVE(8)



NAME
       logresolve - Resolve IP-addresses to hostnames in Apache log files


SYNOPSIS
       logresolve [ -s filename ] [ -c ] < access_log > access_log.new



SUMMARY
       logresolve is a post-processing program to resolve IP-addresses in Apache's access logfiles. To mini-mize minimize
       mize impact on your nameserver, logresolve has its very own internal  hash-table  cache.  This  means
       that each IP number will only be looked up the first time it is found in the log file.


       Takes an Apache log file on standard input. The IP addresses must be the first thing on each line and
       must be separated from the remainder of the line by a space.



OPTIONS
       -s filename
              Specifies a filename to record statistics.

       -c     This causes logresolve to apply some DNS checks:  after  finding  the  hostname  from  the  IP
              address,  it  looks  up the IP addresses for the hostname and checks that one of these matches
              the original address.




Apache HTTP Server                               2005-06-29                                    LOGRESOLVE(8)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.