• yiwu-arbug's avatar
    logger: use larger buffer and fix header level log (#518) · d60144df
    yiwu-arbug authored
    * RocksDB may print large log lines up to 64k. The default 1k buffer for `logv` is too small and truncates rocksdb log. When we detect log line is too long, we allocate a large enough buffer on heap and try again.
    * When log level is not specified, defaults to header level.
    d60144df
Name
Last commit
Last update
benches Loading commit data...
librocksdb_sys Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
travis-build Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
rust-toolchain Loading commit data...
rustfmt.toml Loading commit data...