MailOnline / forwarder

Tail log files and send lines to stdout, TCP, ElasticSearch or RabbitMQ (STOMP)
Eclipse Public License 1.0
2 stars 1 forks source link

testcase to support SIGTERM when using tai64nlocal #5

Open tombburnell opened 8 years ago

tombburnell commented 8 years ago

./sender -f -p /opt/molsfw/splunk_forwarderjson/offsets/eventlog "/service//log/current" "/service//log/.s" /var/log/splunk "/var/log/mol-fe-_.log*" -s 512 -t 10.251.76.134:1003 -l 'grep --line-buffered "\"splunkType\":\"JSON\"" | tai64nlocal' 2>&1

Capture SIGCHILD and exit after X seconds Log trapping of signals so we can see flow