Hi Custom log work well, if it does not apply "ServerHosts" tag. I have to gather log as service domain.
Thanks. 2014-04-11 5:46 GMT+09:00 Leif Hedstrom <[email protected]>: > > On Apr 10, 2014, at 2:42 PM, James Peach <[email protected]> wrote: > > > 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 :) > > > > Oh, humm, yes. Then I have no idea :). > > - Leif > > >> > >> 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. > >>> > >> > > > >
