• 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
..
bindings Loading commit data...
crocksdb Loading commit data...
libtitan_sys Loading commit data...
rocksdb @ fa9b061b
src Loading commit data...
Cargo.toml Loading commit data...
build.rs Loading commit data...