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

reduce verbosity of some dynolog warnings #882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libkineto/src/IpcFabricConfigClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,19 +167,19 @@ std::string IpcFabricConfigClient::getLibkinetoOndemandConfig(int32_t type) {

try {
if (!fabricManager_->sync_send(*msg, std::string(kDynoIpcName))) {
LOG(ERROR) << "Failed to send config type=" << type << " to dyno: IPC sync_send fail";
LOG(WARNING) << "Failed to send config type=" << type << " to dyno: IPC sync_send fail";
free(req);
req = nullptr;
return "";
}
free(req);
msg = fabricManager_->poll_recv(maxIpcRetries, kSleepUs);
if (!msg) {
LOG(ERROR) << "Failed to receive ondemand config type=" << type << " from dyno: IPC recv fail";
LOG(WARNING) << "Failed to receive ondemand config type=" << type << " from dyno: IPC recv fail";
return "";
}
} catch (const std::runtime_error& ex) {
LOG(ERROR) << "Failed to recv ondemand config over ipc fabric: " << ex.what();
LOG(WARNING) << "Failed to recv ondemand config over ipc fabric: " << ex.what();
free(req);
return "";
}
Expand Down
Loading