fafb2df969
pgLOGd, simply put, is a program that takes web server log entries and sends them to a database. It is called pgLOGd because of the database it was designed to function with, PostgreSQL. It is fast, robust and features fall-back-logging to a text file. It is flexible and typically uses less than 128K of memory. PR: ports/51647 Submitted by: Allie Micka <allie@pajunas.com>
17 lines
525 B
Text
17 lines
525 B
Text
=========================================================
|
|
You need to create a PostgreSQL database for your logs:
|
|
|
|
# su - postgres
|
|
$ createdb pglogd
|
|
$ psql pglogd < /usr/local/share/pglogd/pglogd_tables.sql
|
|
$ exit
|
|
|
|
and copy /usr/local/etc/pglogd.conf.sample to pglogd.conf
|
|
|
|
pglogd can then be started with:
|
|
|
|
# /usr/local/etc/rc.d/020.pglogd.sh start
|
|
|
|
Read the complete documentation on configuring pglogd
|
|
and apache at http://www.digitalstratum.com/pglogd/
|
|
=========================================================
|