- Refactor Fluent Logger for Improved Thread Safety and Error Handling
- Follow the recent Golang module updates
- Stabilize testing on CI
- Regenerate msgp generated code to be latest
New features
- Add a new option
AsyncReconnectIntervalfor periodic connection refresh. #111
Contributions to this release
- Conor Evans
New features
- Support logging over secure connections using TLS. #107
Changes
- Change
Fluent.Post()to return an error after connection close. #105
Contributions to this release
- Love Sharma
- Fujimoto Seiji
- Update connection management to stop logger during connection failures
- Fix not to panic when accessing unexported struct fields
- Add
AsyncResultCallbackto allow users to handle errors when using asynchronous message sending.
- Add another fix for
Closecalled twice in Async
- Add support for
ppc64le - Fix unexpected behaviors&panic around
Close
- Add
ForceStopAsyncSendto stop asynchronous message transferring immediately whenclose()called - Fix to lock connections only when needed
- Fix a bug to panic for closing nil connection
- Add
RequestAckto enable at-least-once message transferring - Add
Asyncoption to update sending message in asynchronous way - Deprecate
AsyncConnect(UseAsyncinstead)
- Add
SubSecondPrecisionoption to handle Fluentd v0.14 (and v1) sub-second EventTime (default: false) - Add
WriteTimeoutoption - Fix API of
Postto acceptmsgp.Marshalerobjects for better performance
- Fix a bug not to reconnect to destination twice or more
- Fix to connect on background goroutine in async mode
- Add
MarshalAsJSONfeature formessageobjects which can be marshaled as JSON - Fix a bug to panic for destination system outage
- Add support for unix domain socket
- Add asynchronous client creation
- Fix API of
PostandPostWithTimeto return error when encoding - Add argument checks to get
mapwith string keys andstructonly - Logger refers tags (
msgorcodec) of fields of struct
- Change dependency from ugorji/go/codec to tinylib/msgp
- Add
PostRawDatamethod to post pre-encoded data to servers
- Lock when writing pending buffers (Thanks @eagletmt)
- Add TagPrefix in Config (Thanks @hotchpotch)
- Fixes runtime error of close function.(Thanks @y-matsuwitter)
- Added method PostWithTime(Thanks [@choplin])
- Use sync.Mutex
- Fix BufferLimit comparison
- Export toMsgpack function to utils.go
- Remove unused fmt.Println
- Update msgpack library ("github.com/ugorji/go-msgpack" -> "github.com/ugorji/go/codec")