Spreadlogd is a simple tool to log messages received via the Spread Group Communication system. It is primary used in conjuction with mod_log_spread to journal a centralized log file for a cluster of Apache servers.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sample_modules
Artistic.txt
Makefile.in
README.md
config.c
config.guess
config.h
config_gram.l
config_gram.y
configure.in
echash.c
echash.h
hash.c
hash.h
install-sh
mkinstalldirs
module.c
module.h
mylogger.pm
nethelp.c
nethelp.h
perl.c
perl.h
python.c
python.h
skip_heap.h
skiplist.c
skiplist.h
sld_config.h.in
sld_defines.h
spreadlogd.c
spreadlogd.conf
timefuncs.c
timefuncs.h

README.md

spreadlogd

Spreadlogd is a simple tool to log messages received via the Spread Group Communication system. It is primarily used in conjuction with mod_log_spread to journal a centralized log file for a cluster of Apache servers.

Due to a loadable module system, it can be enhanced to passively analyze the messages that it witnesses. This can lead to the development of interesting and innovative tools.

License

This software is made available under the Artistic license. Please read the license before using this software.

Additional Info

This software works great for me. Other than the options seen with -h there are a few tid bits of knowledge to know.

Edit the makefile and uncomment/comment the right parts in the architecture dependant sections.

If you kill -HUP or kill the spreadlogd process, it will not actually process the signal until after it has received its next message from Spread. You can move you log files to new names and then kill -HUP and it will reopen the log files. This is useful for seamless log rotation without losing any messages.

Spread is really cool. It is a poweful group communication toolkit developed at the Center for Networking and Distributed Systems at the Johns Hopkins University. http://www.spread.org/ and http://www.cnds.jhu.edu/, respectively.