last time I setup the log server, I need to put an custom log xml config on the collation server, with the same syntax.
have you done it?
在 2012-06-08五的 14:51 +0800,黄英才写道:
> if i disabled the custom_logs_enabled
> CONFIG proxy.config.log.custom_logs_enabled INT 0
>
>
> i got the follwo info:
> [Jun 8 14:44:20.417] Server {0x2b7c9f631700} WARNING: Access logging
> to local log directory suspended - configured space allocation almost
> exhausted.
> [Jun 8 14:44:26.422] Server {0x2b7c91492e00} NOTE: [log-coll] host up
> [58.215.x.x:8085]
>
>
>
>
>
> 2012/6/8 黄英才 <[email protected]>
> My log center record.config is
>
>
> LOCAL proxy.local.log.collation_mode INT 1
> CONFIG proxy.config.log.collation_host STRING NULL
> CONFIG proxy.config.log.collation_port INT 8085
> CONFIG proxy.config.log.collation_secret STRING foor
>
>
>
>
>
>
>
>
>
>
> my log client record.config is follow
> CONFIG proxy.config.log.custom_logs_enabled INT 1
>
>
> LOCAL proxy.local.log.collation_mode INT 2
> CONFIG proxy.config.log.collation_host STRING 58.215.x.x
> CONFIG proxy.config.log.collation_port INT 8085
> CONFIG proxy.config.log.collation_secret STRING foor
>
>
> my logs_xml.config is
>
>
> <LogFormat>
> <Name = "w3c"/>
> <Format = "%<chi> %<cgid> %<caun> [%<cqtn>] \"%<cqtx>\"
> %<pssc> %<psql> \"%<{Referer}cqh>\" \"%<{user-agent}cqh>\"
> %<crc> "/>
> </LogFormat>
> <LogFormat>
>
>
> <LogObject>
> <Format = "w3c"/>
> <ServerHosts = "www.test.com"/>
> <Filename = "www.test.com_w3c"/>
> <Protocols = "http"/>
> <CollationHosts = "58.215.x.x:8085"/>
> </LogObject>
>
>
> The traffic.out
>
>
> [Jun 8 14:10:48.117] Server {0x2b0f55337e00} NOTE: logging
> initialized[15], logging_mode = 3
> [Jun 8 14:10:48.128] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.128] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.129] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.129] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.129] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.129] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.129] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.130] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.130] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.130] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
> [Jun 8 14:10:48.130] Server {0x2b0f55337e00} WARNING: Could
> not set "58.215.x.x:8085" as collation host
>
>
>
>
> The logcenter has not any logclient to connect? why? How to
> config Logcenter on ats 3.1.4? any doc can help me?
>
>
--
zym, Zhao Yongming.
aka: yonghao @ taobao.com
signature.asc
Description: This is a digitally signed message part
