Logging causes memory use to increase forever
andrerom opened this issue · 3 comments
andrerom commented
There is a need to be able to disable logging, as it does not make sense in CLI context, for instance during import.
Workaround is to not use StashBundle at all in this context, but manually clear the stash cache during/after the import.
jhallbachner commented
I thought I had added a mechanism to do this. If not I'll get it in in place in the next couple days.
andrerom commented
I'm about to do a PR for a way to solve this, not sure if it is what you had in mind but I'll add a prod logger which only logs the hits and calls.