/mod_log_scribe

Scribe Apache module for logging

Primary LanguageCApache License 2.0Apache-2.0

Simple Apache CustomLog module for logging directly to Scribe

DEPENDENCIES -

thrift
fb303 (in thrift/contrib)
APR (Apache Portable Runtime)

BUILDING -

build/install thrift
build/install fb303

modify scribe-cpp/Makefile as necessary
modify build.sh as necessary

in scribe-cpp, run 'sh scribe.thrift'

run 'make' in scribe-cpp
run 'build.sh'

USING -

Install mod_log_scribe.so in your Apache modules directory

To use, in httpd.conf:
    LoadModule log_scribe_module /path/to/mod_log_scribe.so
    CustomLog scribe:httpd@localhost:1463 common

Will log all messages to scribe on localhost, running on port 1463, with 
category 'httpd'

BUGS -

Many.  None of the options provided currently work, or if they do they are 
untested.

Eric Maland
November 16, 2009