logstash/logstash — pull request #339 by TheDarren (2013-01-29 17:42:43+00:00)
Title: Add 'configtest' option to agent to verify config and exit

I'm using logstash with puppet and it is convenient to verify config syntax before restarting the service. Puppet will not restart the service if configtest fails (thus leaving logstash running).

This is a small patch that adds an agent '-t' or '--configtest' boolean option to check config and then exit.

Thanks,
-darren