Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Flush log data before process exit #186

Open
binarylogic opened this issue Dec 5, 2017 · 2 comments
Open

Flush log data before process exit #186

binarylogic opened this issue Dec 5, 2017 · 2 comments
Labels

Comments

@binarylogic
Copy link
Contributor

binarylogic commented Dec 5, 2017

In short lived processes Timber will not deliver log data because it maintains a buffer and flushes on an interval. Timber should flush the buffer before the process exits.

@binarylogic binarylogic added the Bug label Dec 5, 2017
@eyefodder
Copy link

We could really do with this! Thanks guys

@binarylogic
Copy link
Contributor Author

Thanks @eyefodder, a work around for now is to add a 2 second sleep before the process exits, but we'll get this resolved so that isn't necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants