Add config for trace log for HttpMime

This commit is contained in:
Ai Lin Chia
2016-12-02 16:31:16 +01:00
parent ab998330cb
commit fe3ae7f6e3
3 changed files with 11 additions and 0 deletions

@ -237,6 +237,7 @@ Conf::Conf ( ) {
m_logTraceBigFile = false;
m_logTraceDns = false;
m_logTraceFile = false;
m_logTraceHttpMime = false;
m_logTraceMem = false;
m_logTraceMsg0 = false;
m_logTraceMsg4 = false;

1
Conf.h

@ -399,6 +399,7 @@ class Conf {
bool m_logTraceBigFile;
bool m_logTraceDns;
bool m_logTraceFile;
bool m_logTraceHttpMime;
bool m_logTraceMem;
bool m_logTraceMsg0;
bool m_logTraceMsg4;

@ -9950,6 +9950,15 @@ void Parms::init ( ) {
m->m_obj = OBJ_CONF;
m++;
m->m_title = "log trace info for HttpMime";
m->m_cgi = "ltrc_httpmime";
m->m_off = offsetof(Conf,m_logTraceHttpMime);
m->m_type = TYPE_BOOL;
m->m_def = "0";
m->m_page = PAGE_LOG;
m->m_obj = OBJ_CONF;
m++;
m->m_title = "log trace info for Mem";
m->m_cgi = "ltrc_mem";
m->m_off = offsetof(Conf,m_logTraceMem);