timber-ruby icon indicating copy to clipboard operation
timber-ruby copied to clipboard

Flush log data before process exit

Open binarylogic opened this issue 8 years ago • 2 comments

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 avatar Dec 05 '17 21:12 binarylogic

We could really do with this! Thanks guys

eyefodder avatar Dec 05 '17 21:12 eyefodder

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.

binarylogic avatar Dec 05 '17 22:12 binarylogic