trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esmq <e...@163.com>
Subject problem about logs_xml.config (how to debug Logfilter )
Date Thu, 22 Aug 2013 08:52:50 GMT
hi,all


i have defined two LogFormat/LogFilter for two different LogBojects, and  found that the LogFilter
doesn't work (never match),  can somebody help me how to debug that ?


any seggestion to  set a corrent value for proxy.config.diags.debug.tags ?


and following is my logs_xml.config


<LogFormat>
  <Name = "format1"/>
  <Format = "%<cqtq> ..."/>
</LogFormat>


<LogFormat>
  <Name = "format2"/>
  <Format = "%<cqtq> ...\"%<{Referer}cqh>\""/>
</LogFormat>


<LogFilter>
    <Name = "accept_test.com"/>
    <Condition = "cquuh CONTAIN test.com"/>
    <Action = "ACCEPT"/>
</LogFilter>


<LogFilter>
    <Name = "reject_test.com"/>
    <Condition = "cquuh CONTAIN test.com"/>
    <Action = "REJECT"/>
</LogFilter>


<LogObject>
    <Format = "format1"/>
    <Filename = "access_format1"/>
    <Mode = "ascii"/>
    <Filters = "reject_test.com"/>
</LogObject>


<LogObject>
    <Format = "format2"/>
    <Filename = "access_format2"/>
    <Mode = "ascii"/>
    <Filters = "accept_test.com"/>
</LogObject>
Mime
View raw message