Skip to content

Conversation

feugy
Copy link
Contributor

@feugy feugy commented Apr 18, 2022

What's in there?

Hi Pino community!

In order to implement log rotation based on SonicBoom (original issue, I would need a way to track bytes written to the underlying file.

Here is the PR for implementing a file rotation transport that can roll either on time or size.

The write event exposes this information without compromising performance.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

(might take a few days to release)

@mcollina mcollina merged commit b437319 into pinojs:master Apr 27, 2022
@feugy feugy deleted the feat/write-event branch April 28, 2022 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants