add logsize

this is useful to trigger compaction at a certain logsize / size ratio