Skip to content

Commit

Permalink
swssconfig: Changing log level to DEBUG (sonic-net#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuotian Cheng authored Oct 27, 2016
1 parent a025ab0 commit 69b163a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions swssconfig/swssconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ void usage()

void dump_db_item(KeyOpFieldsValuesTuple &db_item)
{
SWSS_LOG_NOTICE("db_item: [");
SWSS_LOG_NOTICE("\toperation: %s", kfvOp(db_item).c_str());
SWSS_LOG_NOTICE("\thash: %s", kfvKey(db_item).c_str());
SWSS_LOG_NOTICE("\tfields: [");
SWSS_LOG_DEBUG("db_item: [");
SWSS_LOG_DEBUG("\toperation: %s", kfvOp(db_item).c_str());
SWSS_LOG_DEBUG("\thash: %s", kfvKey(db_item).c_str());
SWSS_LOG_DEBUG("\tfields: [");
for (auto fv: kfvFieldsValues(db_item))
SWSS_LOG_NOTICE("\t\tfield: %s value: %s", fvField(fv).c_str(), fvValue(fv).c_str());
SWSS_LOG_NOTICE("\t]");
SWSS_LOG_NOTICE("]");
SWSS_LOG_DEBUG("\t\tfield: %s value: %s", fvField(fv).c_str(), fvValue(fv).c_str());
SWSS_LOG_DEBUG("\t]");
SWSS_LOG_DEBUG("]");
}

bool write_db_data(vector<KeyOpFieldsValuesTuple> &db_items)
Expand Down

0 comments on commit 69b163a

Please sign in to comment.