leveldb: Make logging more compact