Logging - The Polipo Manual
Description: The Polipo Manual

Previous: Daemon, Up: Polipo Invocation

#### 2.1.3 Logging

When it encounters a difficulty, Polipo will print a friendly message. The location where these messages go is controlled by the configuration variables `logFile` and `logSyslog`. If `logSyslog` is `true`, error messages go to the system log facility given by `logFacility`. If `logFile` is set, it is the name of a file where all output will accumulate. If `logSyslog` is `false` and `logFile` is empty, messages go to the error output of the process (normally the terminal).

The variable `logFile` defaults to empty if `daemonise` is false, and to ``/var/log/polipo`' otherwise.

The variable `logSyslog` defaults to `false`, and `logFacility` defaults to ``user`'.

The amount of logging is controlled by the variable `logLevel`. Please see the file ``log.h`' in the Polipo sources for the possible values of `logLevel`.

(Note that if you are using a shared cache, or logging to syslog, an overly low `logLevel` could be a privacy violation.)