/usr/share/polipo/www/doc/Logging.html is in polipo 1.0.4.1-1.2.
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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <html lang="en">
<head>
<title>Logging - The Polipo Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The Polipo Manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Polipo-Invocation.html#Polipo-Invocation" title="Polipo Invocation">
<link rel="prev" href="Daemon.html#Daemon" title="Daemon">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 2003 -- 2006 by Juliusz Chroboczek.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Logging"></a>
<p>
Previous: <a rel="previous" accesskey="p" href="Daemon.html#Daemon">Daemon</a>,
Up: <a rel="up" accesskey="u" href="Polipo-Invocation.html#Polipo-Invocation">Polipo Invocation</a>
<hr>
</div>
<h4 class="subsection">2.1.3 Logging</h4>
<p><a name="index-logging-41"></a><a name="index-logLevel-42"></a><a name="index-logFile-43"></a><a name="index-logSyslog-44"></a><a name="index-logFacility-45"></a>
When it encounters a difficulty, Polipo will print a friendly message.
The location where these messages go is controlled by the
configuration variables <code>logFile</code> and <code>logSyslog</code>.
If <code>logSyslog</code> is <code>true</code>, error messages go to the system log
facility given by <code>logFacility</code>. If <code>logFile</code> is set, it is
the name of a file where all output will accumulate. If <code>logSyslog</code>
is <code>false</code> and <code>logFile</code> is empty, messages go to the error
output of the process (normally the terminal).
<p>The variable <code>logFile</code> defaults to empty if <code>daemonise</code> is
false, and to ‘<samp><span class="samp">/var/log/polipo</span></samp>’ otherwise.
<p>The variable <code>logSyslog</code> defaults to <code>false</code>, and
<code>logFacility</code> defaults to ‘<samp><span class="samp">user</span></samp>’.
<p>The amount of logging is controlled by the variable <code>logLevel</code>.
Please see the file ‘<samp><span class="samp">log.h</span></samp>’ in the Polipo sources for the
possible values of <code>logLevel</code>.
<p>(Note that if you are using a shared cache, or logging to syslog,
an overly low <code>logLevel</code> could be a privacy violation.)
</body></html>
|