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

Next

Tone down logging

  • Loading branch information...
illicitonion committed May 15, 2019
commit f2c58373427d062adf90755dbcacde6c14c9252a
@@ -1046,7 +1046,7 @@ mod local {
let mut lmdbs = HashMap::new();

for (env, dir, fingerprint_prefix) in ShardedLmdb::envs(&root_path)? {
debug!("Making ShardedLmdb content database for {:?}", dir);
trace!("Making ShardedLmdb content database for {:?}", dir);
let content_database = env
.create_db(Some("content"), DatabaseFlags::empty())
.map_err(|e| {
@@ -1056,7 +1056,7 @@ mod local {
)
})?;

debug!("Making ShardedLmdb lease database for {:?}", dir);
trace!("Making ShardedLmdb lease database for {:?}", dir);
let lease_database = env
.create_db(Some("leases"), DatabaseFlags::empty())
.map_err(|e| {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.