/usr/share/doc/lire/dev-manual/ch02s02.html is in lire-devel-doc 2:2.1.1-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The common_syslog Log Format</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire Developer's Manual"><link rel="up" href="ch02.html" title="Chapter 2. Writing a New DLF Converter"><link rel="prev" href="ch02.html" title="Chapter 2. Writing a New DLF Converter"><link rel="next" href="ch02s03.html" title="Creating the DLF Converter Skeleton"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The <span class="type">common_syslog</span> Log Format</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Writing a New DLF Converter</th><td width="20%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr></table><hr></div><div class="section" title="The common_syslog Log Format"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id402437"></a>The <span class="type">common_syslog</span> Log Format</h2></div></div></div><p>The log format supported by our DLF converter is simply
the standard Common Log Format supported by most web servers
with a syslog header prepended to each line. Here is an
example of what such a log file might contain:
</p><pre class="programlisting">
May 10 11:13:10 hibou httpd[12344]: Apache/1.3.26 (Unix) Debian GNU/Linux Embperl/1.3.3 PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations
May 10 11:13:11 hibou httpd[12345]: 192.168.250.10 - - \
[10/May/2003:11:13:11 +0200] "GET /" HTTP/1.1 200 1523
May 10 11:13:12 hibou httpd[12346]: 192.168.250.10 - - \
[10/May/2003:11:13:11 +0200] "GET /images/logo.png" HTTP/1.1 200 1201
May 10 11:13:12 hibou httpd[12348]: 192.168.250.10 - - \
[10/May/2003:11:13:11 +0200] "GET /images/corner.png" HTTP/1.1 200 1021
</pre><p>
</p><p>Remember that the other layer is a syslog log file and
could contains other things than only the web server's
requests. The first line in the example isn't a request
record but really what usually ends up in the
<span class="quote">“<span class="quote">error_log</span>”</span> and is a message about the server
starting.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Writing a New DLF Converter </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Creating the DLF Converter Skeleton</td></tr></table></div></body></html>
|