papertrail / remote_syslog2

To install, see "Releases" tab. Self-contained daemon for reading local files and emitting remote syslog (without using local syslogd).
http://help.papertrailapp.com/
MIT License
637 stars 157 forks source link

Separate configuration from log watching #170

Closed snorecone closed 8 years ago

snorecone commented 8 years ago

This is a refactor to separate configuration concerns from the logfile watching server. It will enable us to test the server more easily rather than building a binary or calling main() directly.

Added benefits include better visibility into configuration options, auto-binding of command-line flag values to configuration file values, and exploding function arity -- among other things.