Remove logging of FileDb operations.
This commit is contained in:
parent
49e68ad456
commit
4bfc3eb945
|
@ -85,15 +85,15 @@ class FileDb final : public FileDbInterface {
|
|||
}
|
||||
|
||||
pmc.erase(PSTRING() << "file" << id.get());
|
||||
LOG(DEBUG) << "ERASE " << format::as_hex_dump<4>(Slice(PSLICE() << "file" << id.get()));
|
||||
// LOG(DEBUG) << "ERASE " << format::as_hex_dump<4>(Slice(PSLICE() << "file" << id.get()));
|
||||
|
||||
if (!remote_key.empty()) {
|
||||
pmc.erase(remote_key);
|
||||
LOG(DEBUG) << "ERASE remote " << format::as_hex_dump<4>(Slice(remote_key));
|
||||
// LOG(DEBUG) << "ERASE remote " << format::as_hex_dump<4>(Slice(remote_key));
|
||||
}
|
||||
if (!local_key.empty()) {
|
||||
pmc.erase(local_key);
|
||||
LOG(DEBUG) << "ERASE local " << format::as_hex_dump<4>(Slice(local_key));
|
||||
// LOG(DEBUG) << "ERASE local " << format::as_hex_dump<4>(Slice(local_key));
|
||||
}
|
||||
if (!generate_key.empty()) {
|
||||
pmc.erase(generate_key);
|
||||
|
@ -215,10 +215,10 @@ class FileDb final : public FileDbInterface {
|
|||
if (file_data.generate_ != nullptr && new_generate) {
|
||||
generate_key = as_key(*file_data.generate_);
|
||||
}
|
||||
LOG(DEBUG) << "SAVE " << id.get() << " -> " << file_data << " "
|
||||
<< tag("remote_key", format::as_hex_dump<4>(Slice(remote_key)))
|
||||
<< tag("local_key", format::as_hex_dump<4>(Slice(local_key)))
|
||||
<< tag("generate_key", format::as_hex_dump<4>(Slice(generate_key)));
|
||||
// LOG(DEBUG) << "SAVE " << id.get() << " -> " << file_data << " "
|
||||
// << tag("remote_key", format::as_hex_dump<4>(Slice(remote_key)))
|
||||
// << tag("local_key", format::as_hex_dump<4>(Slice(local_key)))
|
||||
// << tag("generate_key", format::as_hex_dump<4>(Slice(generate_key)));
|
||||
send_closure(file_db_actor_, &FileDbActor::store_file_data, id, serialize(file_data), remote_key, local_key,
|
||||
generate_key);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user