Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tone down logging when making ShardedLmdbs #7733

Merged
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

Fix imports

  • Loading branch information...
illicitonion committed May 15, 2019
commit 6f862adf3caeae4234c7ba4d2a05aa207db081b5
@@ -689,7 +689,7 @@ mod local {
self, Cursor, Database, DatabaseFlags, Environment, EnvironmentCopyFlags, EnvironmentFlags,
RwTransaction, Transaction, WriteFlags,
};
use log::{debug, error};
use log::{error, trace};
use sha2::Sha256;
use std;
use std::collections::{BinaryHeap, HashMap};
@@ -1042,7 +1042,7 @@ mod local {

impl ShardedLmdb {
pub fn new(root_path: PathBuf) -> Result<ShardedLmdb, String> {
debug!("Initializing ShardedLmdb at root {:?}", root_path);
trace!("Initializing ShardedLmdb at root {:?}", root_path);
let mut lmdbs = HashMap::new();

for (env, dir, fingerprint_prefix) in ShardedLmdb::envs(&root_path)? {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.