Rolling log file writer in new io module#406
Conversation
|
Great work 👍 Wondering how we can prioritise this for the next release 🤔 |
Thanks! You might want to post your interest on the parent issue, it might get more visibility there. |
|
For my changes:
|
|
Very nice work, however we're running into However recently the error is: |
…to fork/rocketraman/rg/405-rolling-log-file
How can I reproduce this? I've done |
|
Nevermind the issue was resolved, an issue with default heriarchy. |
|
Are we handling the exceptions from this writer correctly? We've noticed there might be restrictions on ios writing to file when the device is locked, which causes this exception. I've opened #468 for this |
A simple implementation to write request logs to files.
Implemented as a rolling system to avoid any one log file becoming too large, and setting an upper bound on device storage. The roll parameters are configurable.
This is useful for debugging user devices in production because apps can contain a feature to send these saved logs to a server for analysis.
Resolves #405 .