Skip to content

elastic/go-lumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

93ccc4a · Sep 13, 2024

History

31 Commits
Aug 7, 2023
Sep 13, 2024
Aug 18, 2022
Aug 19, 2022
Aug 19, 2022
Aug 18, 2022
Aug 18, 2022
Aug 19, 2022
Jun 15, 2016
Aug 7, 2023
Aug 18, 2022
Aug 19, 2022
Aug 18, 2022
Aug 7, 2023
Jun 29, 2018
Aug 14, 2022
Aug 14, 2022

Repository files navigation

go-lumber

ci Go Report Card Contributors GitHub release

Lumberjack protocol client and server implementations for go.

Example Server

There is an example server in cmd/tst-lj. It will accept connections and log when it receives batches of events.

# Install to $GOPATH/bin.
go install github.com/elastic/go-lumber/cmd/tst-lj@latest

# Start server.
tst-lj -bind=localhost:5044 -v2
2022/08/14 00:13:54 Server config: server.options{timeout:30000000000, keepalive:3000000000, decoder:(server.jsonDecoder)(0x100d88e80), tls:(*tls.Config)(nil), v1:false, v2:true, ch:(chan *lj.Batch)(nil)}
2022/08/14 00:13:54 tcp server up