---
name: "penlog"
section: "1"
platform: "linux"
package: "pen"
version: "0.34.1-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/penlog"
---

# penlog(1)

pipe Apache logs to penlogd

## NAME

penlog - pipe Apache logs to penlogd

## SYNOPSIS

**penlog** server\_ip server\_port \[my\_ip\]

## EXAMPLE

penlog lbhost:10000

## DESCRIPTION

*Penlog* reads webserver log entries from stdin and sends them using UDP to penlogd. It is intended for Apache's "reliable piped logs". To use penlog from Apache, add a command like this to the web server's httpd.conf:

CustomLog "\|/usr/local/bin/penlog somehost 10000" common

The optional third argument is used if the server has several addresses. Penlogd uses the source address to identify the server, and it must be identical to the address configured in the command line to Pen.

## SEE ALSO

[pen(1)](/pen/1.md), [penlogd(1)](/penlogd/1.md)

## AUTHOR

Copyright (C) 2002-2015 Ulric Eriksson, \<ulric@siag.nu\>.
