trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <jpe...@apache.org>
Subject Re: 'ServerHosts' in 'logs_xml.config not work
Date Thu, 10 Apr 2014 20:42:24 GMT
On Apr 10, 2014, at 1:29 PM, Leif Hedstrom <zwoop@apache.org> wrote:

> ServerHost is for log collation. I’m guess that’s not what you want (unless you have
a log collation collector running on test.test.com).

I think you are confusing that with CollationHosts :)

> 
> Also make sure custom log format is enabled in records.config
> 
> — Leif
> 
> On Apr 10, 2014, at 2:55 AM, HarJin Park <harjin.park@gmail.com> wrote:
> 
>> Hi
>> I'm using 4.2.0 TS, my config file is below.
>> 
>> <LogFormat>
>>  <Name = "cachelog"/>
>> ....
>> </LogFormat>
>> 
>> <LogFilter>
>>  <Name = "ERROR_UNKNOWN"/>
>>  <Condition = "crc MATCH 90"/>
>>  <Action = "REJECT"/>
>> </LogFilter>
>> 
>> <LogObject>
>>  <Format = "cachelog"/>
>>  <Filename = "test"/>
>>  <Protocols = "http"/>
>>  <ServerHosts = "test.test.com"/>
>> </LogObject>
>> 
>> There is no log file even I  did using curl 'http://test.test.com'.
>> If I remove 'SeverHosts' tag, it is work well.
>> 
>> I don't know why it's not work, plz give me some examples.
>> 
>> Thanks.
>> 
> 


Mime
View raw message