I'm excited about this project you've got going! It's great to see a robust logstash-forwarder alternative.
log-courier -config /etc/log-courier.conf
2014/07/15 00:16:26.279688 Starting pipeline
2014/07/15 00:16:26.279792 Loading registrar data from /var/run/logstash/.log-courier
2014/07/15 00:16:26.294909 Pipeline ready
2014/07/15 00:16:26.294979 Resuming harvester on a previously harvested file: /var/log/audit/audit.log
2014/07/15 00:16:26.295013 Resuming harvester on a previously harvested file: /var/log/cron
2014/07/15 00:16:26.295043 Resuming harvester on a previously harvested file: /var/log/httpd/access_log
2014/07/15 00:16:26.295073 Resuming harvester on a previously harvested file: /var/log/httpd/error_log
2014/07/15 00:16:26.295101 Resuming harvester on a previously harvested file: /var/log/maillog
2014/07/15 00:16:26.295129 Resuming harvester on a previously harvested file: /var/log/mcelog
2014/07/15 00:16:26.295159 Resuming harvester on a previously harvested file: /var/log/messages
2014/07/15 00:16:26.295187 Resuming harvester on a previously harvested file: /var/log/mysqld.log
2014/07/15 00:16:26.295224 Resuming harvester on a previously harvested file: /var/log/opensm.log
2014/07/15 00:16:26.295253 Resuming harvester on a previously harvested file: /var/log/secure
2014/07/15 00:16:26.295293 Resuming harvester on a previously harvested file: /var/log/spooler
2014/07/15 00:16:26.295321 Resuming harvester on a previously harvested file: /var/log/yum.log
2014/07/15 00:16:26.295604 Connecting to 127.0.0.1:5043 (127.0.0.1)
2014/07/15 00:16:26.295833 Started harvester at position 1152663 (requested 1152663): /var/log/audit/audit.log
2014/07/15 00:16:26.295971 Started harvester at position 94951 (requested 94951): /var/log/cron
2014/07/15 00:16:26.296015 Started harvester at position 143453 (requested 143453): /var/log/httpd/access_log
2014/07/15 00:16:26.296079 Started harvester at position 1840 (requested 1840): /var/log/httpd/error_log
2014/07/15 00:16:26.296125 Started harvester at position 14094 (requested 14094): /var/log/maillog
2014/07/15 00:16:26.296170 Started harvester at position 0 (requested 0): /var/log/mcelog
2014/07/15 00:16:26.296205 Started harvester at position 330600 (requested 330600): /var/log/messages
2014/07/15 00:16:26.296258 Started harvester at position 18098 (requested 18098): /var/log/mysqld.log
2014/07/15 00:16:26.296292 Started harvester at position 23041 (requested 23041): /var/log/opensm.log
2014/07/15 00:16:26.296331 Started harvester at position 15046 (requested 15046): /var/log/secure
2014/07/15 00:16:26.296371 Started harvester at position 0 (requested 0): /var/log/spooler
2014/07/15 00:16:26.297529 Started harvester at position 33195 (requested 33195): /var/log/yum.log
2014/07/15 00:16:26.356679 Connected with 127.0.0.1
2014/07/15 00:16:26.936316 Transport error, will reconnect: EOF
2014/07/15 00:16:27.936713 Connecting to 127.0.0.1:5043 (127.0.0.1)
2014/07/15 00:16:27.998643 Connected with 127.0.0.1
2014/07/15 00:16:28.942697 Transport error, will reconnect: EOF
2014/07/15 00:16:29.943142 Connecting to 127.0.0.1:5043 (127.0.0.1)
2014/07/15 00:16:29.999691 Connected with 127.0.0.1
2014/07/15 00:16:30.950611 Transport error, will reconnect: EOF
2014/07/15 00:16:31.950976 Connecting to 127.0.0.1:5043 (127.0.0.1)
2014/07/15 00:16:32.014703 Connected with 127.0.0.1
2014/07/15 00:16:32.958883 Transport error, will reconnect: EOF
2014/07/15 00:16:33.959236 Connecting to 127.0.0.1:5043 (127.0.0.1)
2014/07/15 00:16:34.023653 Connected with 127.0.0.1
SIGQUIT: quit
PC=0x43d529
runtime.epollwait(0x7fff00000004, 0x7fff6c3d6e90, 0xffffffff00000080)
/usr/lib/golang/src/pkg/runtime/sys_linux_amd64.s:385 +0x19
runtime.netpoll(0x8e1f01)
/usr/lib/golang/src/pkg/runtime/netpoll_epoll.c:71 +0x7d
findrunnable()
/usr/lib/golang/src/pkg/runtime/proc.c:1222 +0x386
schedule()
/usr/lib/golang/src/pkg/runtime/proc.c:1320 +0xe3
park0(0xc210060ea0)
/usr/lib/golang/src/pkg/runtime/proc.c:1361 +0xd8
runtime.mcall(0x43b13d)
/usr/lib/golang/src/pkg/runtime/asm_amd64.s:178 +0x4b
goroutine 1 [select]:
main.(*LogCourier).Run(0xc21001e2d0)
/root/mcms/install/distfiles/log-courier/src/log-courier/log-courier.go:179 +0x54c
main.main()
/root/mcms/install/distfiles/log-courier/src/log-courier/log-courier.go:43 +0x2b
goroutine 3 [syscall]:
os/signal.loop()
/usr/lib/golang/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init路1
/usr/lib/golang/src/pkg/os/signal/signal_unix.go:27 +0x31
goroutine 4 [select]:
main.(*Prospector).Prospect(0xc210038280, 0xc210046620)
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:249 +0xad6
created by main.(*LogCourier).Run
/root/mcms/install/distfiles/log-courier/src/log-courier/log-courier.go:163 +0x37e
goroutine 5 [select]:
main.(*Spooler).Spool(0xc210062420, 0xc210046620, 0xc210069150)
/root/mcms/install/distfiles/log-courier/src/log-courier/spooler.go:50 +0x519
created by main.(*LogCourier).Run
/root/mcms/install/distfiles/log-courier/src/log-courier/log-courier.go:165 +0x3a9
goroutine 6 [select]:
main.(*Publisher).Publish(0xc210038200, 0xc210069150)
/root/mcms/install/distfiles/log-courier/src/log-courier/publisher1.go:224 +0x135e
created by main.(*LogCourier).Run
/root/mcms/install/distfiles/log-courier/src/log-courier/log-courier.go:167 +0x3ca
goroutine 7 [chan receive]:
main.(*Registrar).Register(0xc210050680)
/root/mcms/install/distfiles/log-courier/src/log-courier/registrar.go:188 +0x87
created by main.(*LogCourier).Run
/root/mcms/install/distfiles/log-courier/src/log-courier/log-courier.go:169 +0x3e1
goroutine 8 [select]:
main.(*Harvester).readline(0xc21006d780, 0xc210076960, 0xc2100523f0, 0x2540be400, 0xc210067670, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21006d780, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 9 [select]:
main.(*Harvester).readline(0xc21006d960, 0xc2100769c0, 0xc210052540, 0x2540be400, 0xc210067690, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21006d960, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 10 [select]:
main.(*Harvester).readline(0xc21006dbe0, 0xc210076c60, 0xc210052700, 0x2540be400, 0xc2100676e0, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21006dbe0, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 11 [select]:
main.(*Harvester).readline(0xc21006deb0, 0xc210076d20, 0xc210052850, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21006deb0, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 12 [select]:
main.(*Harvester).readline(0xc21006d190, 0xc210076d80, 0xc210052a80, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21006d190, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 13 [select]:
main.(*Harvester).readline(0xc21001e320, 0xc210076de0, 0xc210052d20, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21001e320, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 14 [select]:
main.(*Harvester).readline(0xc21001e5f0, 0xc210076e40, 0xc210052f50, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21001e5f0, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 15 [select]:
main.(*Harvester).readline(0xc21001e8c0, 0xc210076ea0, 0xc2100b5150, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc21001e8c0, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 16 [select]:
main.(*Harvester).readline(0xc2100570f0, 0xc210076f00, 0xc2100b5310, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc2100570f0, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 17 [select]:
main.(*Harvester).readline(0xc2100573c0, 0xc210076f60, 0xc2100b54d0, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc2100573c0, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 18 [select]:
main.(*Harvester).readline(0xc210057690, 0xc210076660, 0xc2100b5690, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc210057690, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 19 [select]:
main.(*Harvester).readline(0xc210057960, 0xc2100391e0, 0xc2100b5cb0, 0x2540be400, 0x3, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:201 +0x2d9
main.(*Harvester).Harvest(0xc210057960, 0xc210046620, 0x0, 0x0)
/root/mcms/install/distfiles/log-courier/src/log-courier/harvester.go:96 +0x47c
main.func路004()
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:409 +0x3e
created by main.(*Prospector).startHarvesterWithOffset
/root/mcms/install/distfiles/log-courier/src/log-courier/prospector.go:414 +0xfb
goroutine 21 [syscall]:
runtime.goexit()
/usr/lib/golang/src/pkg/runtime/proc.c:1394
goroutine 30 [select]:
main.(*TransportTcp).sender(0xc210039720)
/root/mcms/install/distfiles/log-courier/src/log-courier/transport_tcp.go:239 +0x1c0
created by main.(*TransportTcp).Connect
/root/mcms/install/distfiles/log-courier/src/log-courier/transport_tcp.go:230 +0xcb7
goroutine 31 [IO wait]:
net.runtime_pollWait(0x7fddc1c84890, 0x72, 0x0)
/usr/lib/golang/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210103fb0, 0x72, 0x7fddc1c82f88, 0xb)
/usr/lib/golang/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210103fb0, 0xb, 0x7fddc1c82f88)
/usr/lib/golang/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210103f50, 0xc210204c00, 0x400, 0x400, 0x0, ...)
/usr/lib/golang/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210000720, 0xc210204c00, 0x400, 0x400, 0x7fddc1c84a40, ...)
/usr/lib/golang/src/pkg/net/net.go:122 +0xc5
main.(*TransportTcpWrap).Read(0xc2100f01e0, 0xc210204c00, 0x400, 0x400, 0x1, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/transport_tcp.go:385 +0x53
crypto/tls.(*block).readFromUntil(0xc2100f0240, 0x7fddc1c84a40, 0xc2100f01e0, 0x5, 0xc2100f01e0, ...)
/usr/lib/golang/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210053a00, 0x17, 0x0, 0x0)
/usr/lib/golang/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210053a00, 0xc210000a70, 0x8, 0x8, 0x0, ...)
/usr/lib/golang/src/pkg/crypto/tls/conn.go:897 +0x135
main.(*TransportTcp).receiverRead(0xc210039720, 0xc210000a70, 0x8, 0x8, 0x8, ...)
/root/mcms/install/distfiles/log-courier/src/log-courier/transport_tcp.go:314 +0x154
main.(*TransportTcp).receiver(0xc210039720)
/root/mcms/install/distfiles/log-courier/src/log-courier/transport_tcp.go:269 +0x93
created by main.(*TransportTcp).Connect
/root/mcms/install/distfiles/log-courier/src/log-courier/transport_tcp.go:231 +0xcd1
rax 0xfffffffffffffffc
rbx 0x8e1f60
rcx 0xffffffffffffffff
rdx 0x80
rdi 0x4
rsi 0x7fff6c3d6e90
rbp 0x0
rsp 0x7fff6c3d6e50
r8 0xffffffff
r9 0xc210039300
r10 0xffffffff
r11 0x202
r12 0x64f340
r13 0xa5004c88
r14 0x21d6c483
r15 0x8443168f
rip 0x43d529
rflags 0x202
cs 0x33
fs 0x0
gs 0x0