Skip to content

Commit

Permalink
[opt](log) Add some logs for recycler (apache#47600)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukang-Lian authored Feb 10, 2025
1 parent 3f33c5a commit 68b6a54
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cloud/src/recycler/recycler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,9 @@ int InstanceRecycler::init_storage_vault_accessors() {
<< " hdfs_vault=" << vault.hdfs_info().ShortDebugString();
continue;
}

LOG(INFO) << "succeed to init hdfs accessor. instance_id=" << instance_id_
<< " resource_id=" << vault.id() << " name=" << vault.name()
<< " hdfs_vault=" << vault.hdfs_info().ShortDebugString();
accessor_map_.emplace(vault.id(), std::move(accessor));
} else if (vault.has_obj_info()) {
auto s3_conf = S3Conf::from_obj_store_info(vault.obj_info());
Expand All @@ -564,7 +566,9 @@ int InstanceRecycler::init_storage_vault_accessors() {
<< " s3_vault=" << vault.obj_info().ShortDebugString();
continue;
}

LOG(INFO) << "succeed to init s3 accessor. instance_id=" << instance_id_
<< " resource_id=" << vault.id() << " name=" << vault.name() << " ret=" << ret
<< " s3_vault=" << vault.obj_info().ShortDebugString();
accessor_map_.emplace(vault.id(), std::move(accessor));
}
}
Expand Down

0 comments on commit 68b6a54

Please sign in to comment.