silence verbose messages

git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@549 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
sears 2010-02-04 22:19:13 +00:00
parent 1725b6569d
commit d5b4106b7e

View file

@ -516,13 +516,13 @@ void * thread_work_fn( void * args)
#ifdef STATS_ENABLED
if(dt == 0)
printf("key not found:\t%s\n", datatuple::key_to_str(tuple.key).c_str());
DEBUG("key not found:\t%s\n", datatuple::key_to_str(tuple.key).c_str());
else if( *dt->datalen != 1024)
printf("data len for\t%s:\t%d\n", datatuple::key_to_str(tuple.key).c_str(),
DEBUG("data len for\t%s:\t%d\n", datatuple::key_to_str(tuple.key).c_str(),
*dt->datalen);
if(datatuple::compare(tuple.key, dt->key) != 0)
printf("key not equal:\t%s\t%s\n", datatuple::key_to_str(tuple.key).c_str(),
DEBUG("key not equal:\t%s\t%s\n", datatuple::key_to_str(tuple.key).c_str(),
datatuple::key_to_str(dt->key).c_str());
#endif