On Apr 10, 2014, at 1:29 PM, Leif Hedstrom <[email protected]> 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 <[email protected]> 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. >> >
