currently we use one file KV.log, which has different behaviors depending on mode, which makes it a bit difficult to understand