log retention is working in leveldb backend