box-o-sand/sltcpsrv/syslog-tcp-server/main.go
Dan Buch fb3009574f Playing around with collecting syslog over TCP
mostly with rsyslog on the other side, reading through Rainer's RFCs
2013-01-24 23:12:00 -05:00

17 lines
208 B
Go

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)
}