Open pandid opened 6 years ago
This is good. My team will need this functionality as well. Once your PR is accepted by everwatch, I think I'm going to extend it a little bit further by adding the option for timestamp based roll ups as well.
Sorry for the very long delay on reviewing this. This seems like a good idea, but could you make it default not require the new file.lines? i.e. default it to one if it's not set? And then update the README with the new option?
Thanks for the contribution!
We needed to extend the functionality of the FileLogger. Originally it writes just one json object in a file and then moves to the next. If one wants to create big number of such objects this approach not feasible. We added "file.lines". The current functionality is handled by setting "file.lines" to 1 or say "file.lines":"1000".
Commits added functionality to add print more than one json object per file in FileLogger.