trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yongming Zhao <ming....@gmail.com>
Subject Re: 'ServerHosts' in 'logs_xml.config not work
Date Fri, 11 Apr 2014 03:09:54 GMT
what is in your remap if you running a reversed proxy? the logging is based on the remapped
URI, that is the server name after remap.

is that the problem?

thanks

- Yongming Zhao 赵永明

在 2014年4月10日,下午4:55,HarJin Park <harjin.park@gmail.com> 写道:

> 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