mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 20:27:43 +03:00
log more when doing crawlbottesting-* tests
This commit is contained in:
parent
56a46fd294
commit
994ba73007
13
XmlDoc.cpp
13
XmlDoc.cpp
@ -1904,7 +1904,18 @@ void XmlDoc::setStatus ( char *s ) {
|
||||
|
||||
s_last = s;
|
||||
|
||||
if ( ! g_conf.m_logDebugBuild ) return ;
|
||||
bool logIt = g_conf.m_logDebugBuild;
|
||||
CollectionRec *cr = NULL;
|
||||
if ( m_collnumValid )
|
||||
cr = g_collectiondb.m_recs[m_collnum];
|
||||
if ( cr &&
|
||||
cr->m_coll &&
|
||||
cr->m_coll[0] == 'c' &&
|
||||
cr->m_coll[1] == 'r' &&
|
||||
strncmp(cr->m_coll,"crawlbottesting-",16) == 0 )
|
||||
logIt = true;
|
||||
|
||||
if ( ! logIt ) return;
|
||||
//return;
|
||||
if ( m_firstUrlValid )
|
||||
logf(LOG_DEBUG,"build: status = %s for %s (this=0x%"PTRFMT")",
|
||||
|
Loading…
Reference in New Issue
Block a user