LinuxWorld: How to save an Apache log file in a PostgreSQL database

By ServerWatch Staff (Send Email)
Posted Oct 9, 2001


"If Apache could log to our database, we could use SQL, and any number of external languages such as LXP or PHP to generate the information we need."

"... The current release of pgLOGd is 2.0-Beta, and is designed to allow one's Web server to log to a PostgreSQL database." If Apache could log to our database, we could use SQL, and any number of external languages such as LXP or PHP to generate the information we need. ... The current release of pgLOGd is 2.0-Beta, and is designed to allow one's Web server to log to a PostgreSQL database.

"Let me take a moment to explain how pgLOGd works. pgLOGd runs as a daemon on almost any Unix-derived machine. It then listens on the .f.PGLOGD file. When Apache writes to that file, pgLOGd inserts the record into PostgreSQL. Very neat and clean."

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.