mirror of
				https://github.com/apache/httpd.git
				synced 2025-10-31 19:10:37 +03:00 
			
		
		
		
	Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68
		
			
				
	
	
		
			68 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version='1.0' encoding='UTF-8' ?>
 | |
| <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 | |
| <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
 | |
| <!-- $LastChangedRevision$ -->
 | |
| 
 | |
| <!--
 | |
|  Licensed to the Apache Software Foundation (ASF) under one or more
 | |
|  contributor license agreements.  See the NOTICE file distributed with
 | |
|  this work for additional information regarding copyright ownership.
 | |
|  The ASF licenses this file to You under the Apache License, Version 2.0
 | |
|  (the "License"); you may not use this file except in compliance with
 | |
|  the License.  You may obtain a copy of the License at
 | |
| 
 | |
|      http://www.apache.org/licenses/LICENSE-2.0
 | |
| 
 | |
|  Unless required by applicable law or agreed to in writing, software
 | |
|  distributed under the License is distributed on an "AS IS" BASIS,
 | |
|  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | |
|  See the License for the specific language governing permissions and
 | |
|  limitations under the License.
 | |
| -->
 | |
| 
 | |
| <manualpage metafile="logresolve.xml.meta">
 | |
| <parentdocument href="./">Programs</parentdocument>
 | |
| 
 | |
|   <title>logresolve - Resolve IP-addresses to hostnames in Apache
 | |
|    log files</title>
 | |
| 
 | |
| <summary>
 | |
|      <p><code>logresolve</code> is a post-processing program to
 | |
|      resolve IP-addresses in Apache's access logfiles.  To minimize
 | |
|      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.</p>
 | |
| 
 | |
|      <p>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.</p>
 | |
| </summary>
 | |
| 
 | |
| <section id="synopsis"><title>Synopsis</title>
 | |
| 
 | |
|      <p><code><strong>logresolve</strong> [ -<strong>s</strong>
 | |
|      <var>filename</var> ] [ -<strong>c</strong> ] <
 | |
|      <var>access_log</var> > <var>access_log.new</var></code></p>
 | |
| </section>
 | |
| 
 | |
| 
 | |
| <section id="options"><title>Options</title>
 | |
| 
 | |
| <dl>
 | |
| 
 | |
| <dt><code>-s <var>filename</var></code></dt>
 | |
| 
 | |
| <dd>Specifies a filename to record statistics.</dd>
 | |
| 
 | |
| <dt><code>-c</code></dt>
 | |
| 
 | |
| <dd>This causes <code>logresolve</code> 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.</dd>
 | |
| 
 | |
| </dl>
 | |
| </section>
 | |
| 
 | |
| </manualpage>
 |