log
This commit is contained in:
parent
5bbef7fc98
commit
d8c11e62ef
1 changed files with 6 additions and 3 deletions
|
@ -844,7 +844,8 @@ bool RclConfig::readFieldsConfig(const string& cnferrloc)
|
||||||
ConfSimple attrs;
|
ConfSimple attrs;
|
||||||
FieldTraits ft;
|
FieldTraits ft;
|
||||||
if (!valueSplitAttributes(val, ft.pfx, attrs)) {
|
if (!valueSplitAttributes(val, ft.pfx, attrs)) {
|
||||||
LOGERR("readFieldsConfig: bad config line for [" << *it << "]: [" << (val) << "]\n" );
|
LOGERR("readFieldsConfig: bad config line for [" << *it <<
|
||||||
|
"]: [" << val << "]\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
string tval;
|
string tval;
|
||||||
|
@ -857,7 +858,8 @@ bool RclConfig::readFieldsConfig(const string& cnferrloc)
|
||||||
if (attrs.get("noterms", tval))
|
if (attrs.get("noterms", tval))
|
||||||
ft.noterms = stringToBool(tval);
|
ft.noterms = stringToBool(tval);
|
||||||
m_fldtotraits[stringtolower(*it)] = ft;
|
m_fldtotraits[stringtolower(*it)] = ft;
|
||||||
LOGDEB2("readFieldsConfig: [" << *it << "] -> [" << (ft.pfx) << "] " << (ft.wdfinc) << " " << (ft.boost) << "\n" );
|
LOGDEB2("readFieldsConfig: [" << *it << "] -> [" << ft.pfx <<
|
||||||
|
"] " << ft.wdfinc << " " << ft.boost << "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add prefixes for aliases and build alias-to-canonic map while
|
// Add prefixes for aliases and build alias-to-canonic map while
|
||||||
|
@ -903,7 +905,8 @@ bool RclConfig::readFieldsConfig(const string& cnferrloc)
|
||||||
#if 0
|
#if 0
|
||||||
for (map<string, FieldTraits>::const_iterator it = m_fldtotraits.begin();
|
for (map<string, FieldTraits>::const_iterator it = m_fldtotraits.begin();
|
||||||
it != m_fldtotraits.end(); it++) {
|
it != m_fldtotraits.end(); it++) {
|
||||||
LOGDEB("readFieldsConfig: [" << *it << "] -> [" << (it->second.pfx) << "] " << (it->second.wdfinc) << " " << (it->second.boost) << "\n" );
|
LOGDEB("readFieldsConfig: [" << *it << "] -> [" << it->second.pfx <<
|
||||||
|
"] " << it->second.wdfinc << " " << it->second.boost << "\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue