Playing around with collecting syslog over TCP

mostly with rsyslog on the other side, reading through Rainer's RFCs
This commit is contained in:
2013-01-24 23:11:14 -05:00
parent 92f7543872
commit fb3009574f
7 changed files with 264 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package main
import (
"flag"
. "github.com/meatballhat/box-o-sand/sltcpsrv"
)
var (
port = flag.Int("p", 10514, "Port number on which to listen")
)
func main() {
flag.Parse()
ListenAndServe(*port)
}