mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
changed Titledb log to trace log and made Titledb trace log configurable
This commit is contained in:
1
Conf.cpp
1
Conf.cpp
@ -239,6 +239,7 @@ Conf::Conf ( ) {
|
||||
m_logTraceRobots = false;
|
||||
m_logTraceSpider = false;
|
||||
m_logTraceSummary = false;
|
||||
m_logTraceTitledb = false;
|
||||
m_logTraceXmlDoc = false;
|
||||
m_logTracePhrases= false;
|
||||
m_logTraceUrlBlockList = false;
|
||||
|
1
Conf.h
1
Conf.h
@ -386,6 +386,7 @@ class Conf {
|
||||
bool m_logTraceRobots;
|
||||
bool m_logTraceSpider;
|
||||
bool m_logTraceSummary;
|
||||
bool m_logTraceTitledb;
|
||||
bool m_logTraceXmlDoc;
|
||||
bool m_logTracePhrases;
|
||||
bool m_logTraceUrlBlockList;
|
||||
|
@ -8602,6 +8602,13 @@ void Parms::init ( ) {
|
||||
m->m_page = PAGE_LOG;
|
||||
m++;
|
||||
|
||||
m->m_title = "log trace info for Titledb";
|
||||
m->m_cgi = "ltrc_titdb";
|
||||
simple_m_set(Conf,m_logTraceTitledb);
|
||||
m->m_def = "0";
|
||||
m->m_page = PAGE_LOG;
|
||||
m++;
|
||||
|
||||
m->m_title = "log trace info for XmlDoc";
|
||||
m->m_cgi = "ltrc_xmldoc";
|
||||
simple_m_set(Conf,m_logTraceXmlDoc);
|
||||
|
Reference in New Issue
Block a user