Skip to content

Commit

Permalink
Remove logs for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wendani committed Aug 17, 2018
1 parent 19305ce commit 156c3b5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions orchagent/qosorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ task_process_status QosMapHandler::processWorkItem(Consumer& consumer)
}
(*(QosOrch::getTypeMap()[qos_map_type_name]))[qos_object_name] = sai_object;
SWSS_LOG_NOTICE("Created [%s:%s]", qos_map_type_name.c_str(), qos_object_name.c_str());
SWSS_LOG_ERROR("QosMapHandler::processWorkItem: Created object_map: %s: %lu", qos_object_name.c_str(), sai_object);
}
freeAttribResources(attributes);
}
Expand Down Expand Up @@ -1086,7 +1085,6 @@ task_process_status QosOrch::handleQueueTable(Consumer& consumer)
bool result;
string key = kfvKey(tuple);
string op = kfvOp(tuple);
vector<FieldValueTuple> &fvVec = kfvFieldsValues(tuple);
size_t queue_ind = 0;
vector<string> tokens;

Expand All @@ -1095,7 +1093,6 @@ task_process_status QosOrch::handleQueueTable(Consumer& consumer)

ref_resolve_status resolve_result;
// sample "QUEUE: {Ethernet4|0-1}"
SWSS_LOG_ERROR("handleQueueTable: key: %s", key.c_str());
tokens = tokenize(key, config_db_key_delimiter);
if (tokens.size() != 2)
{
Expand Down Expand Up @@ -1126,7 +1123,6 @@ task_process_status QosOrch::handleQueueTable(Consumer& consumer)
resolve_result = resolveFieldRefValue(m_qos_maps, scheduler_field_name, tuple, sai_scheduler_profile);
if (ref_resolve_status::success == resolve_result)
{
SWSS_LOG_ERROR("handleQueueTable: resolved field: scheduler");
if (op == SET_COMMAND)
{
result = applySchedulerToQueueSchedulerGroup(port, queue_ind, sai_scheduler_profile);
Expand Down Expand Up @@ -1160,12 +1156,10 @@ task_process_status QosOrch::handleQueueTable(Consumer& consumer)
}


SWSS_LOG_ERROR("handleQueueTable: size of FieldValueTuple vector: %lu", fvVec.size());
sai_object_id_t sai_wred_profile;
resolve_result = resolveFieldRefValue(m_qos_maps, wred_profile_field_name, tuple, sai_wred_profile);
if (ref_resolve_status::success == resolve_result)
{
SWSS_LOG_ERROR("handleQueueTable: resolved field: wred");
if (op == SET_COMMAND)
{
result = applyWredProfileToQueue(port, queue_ind, sai_wred_profile);
Expand Down

0 comments on commit 156c3b5

Please sign in to comment.