You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by 黄英才 <b1...@gmail.com> on 2012/06/08 08:33:18 UTC

is Collation Server dosn't work?

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?

Re: is Collation Server dosn't work?

Posted by 黄英才 <b1...@gmail.com>.
I decrease the mb
CONFIG proxy.config.log.max_space_mb_for_logs INT 250
CONFIG proxy.config.log.max_space_mb_for_orphan_logs INT 25

get the follow
[Jun  8 15:36:57.083] Server {0x2b69e075ee00} WARNING: Could not set
"58.x.x.x:8085" as collation host

Other reasons?




2012/6/8 Nick Berry <nb...@linkedin.com>

>  are you close to the 250000 MB limit for your log path?
>
>  On Jun 8, 2012, at 12:03 AM, 黄英才 <b1...@gmail.com> wrote:
>
> my log client
>
>  CONFIG proxy.config.log.max_space_mb_for_logs INT 25000
> CONFIG proxy.config.log.max_space_mb_for_orphan_logs INT 25
>
>
>
> 2012/6/8 Nick Berry <nb...@linkedin.com>
>
>> what are you values for:
>> proxy.config.log.max_space_mb_for_logs
>> proxy.config.log.max_space_mb_headroom
>>
>>  On Jun 7, 2012, at 11:51 PM, 黄英才 <b1...@gmail.com> wrote:
>>
>> 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 黄英才 <b1...@gmail.com>
>>
>>> 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?
>>>
>>
>>
>>
>
>

Re: is Collation Server dosn't work?

Posted by Nick Berry <nb...@linkedin.com>.
are you close to the 250000 MB limit for your log path?

On Jun 8, 2012, at 12:03 AM, 黄英才 <b1...@gmail.com>> wrote:

my log client

CONFIG proxy.config.log.max_space_mb_for_logs INT 25000
CONFIG proxy.config.log.max_space_mb_for_orphan_logs INT 25



2012/6/8 Nick Berry <nb...@linkedin.com>>
what are you values for:
proxy.config.log.max_space_mb_for_logs
proxy.config.log.max_space_mb_headroom

On Jun 7, 2012, at 11:51 PM, 黄英才 <b1...@gmail.com>> wrote:

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 黄英才 <b1...@gmail.com>>
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<http://www.test.com/>"/>
<Filename = "www.test.com<http://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?





Re: is Collation Server dosn't work?

Posted by 黄英才 <b1...@gmail.com>.
my log client

CONFIG proxy.config.log.max_space_mb_for_logs INT 25000
CONFIG proxy.config.log.max_space_mb_for_orphan_logs INT 25



2012/6/8 Nick Berry <nb...@linkedin.com>

>  what are you values for:
> proxy.config.log.max_space_mb_for_logs
> proxy.config.log.max_space_mb_headroom
>
>  On Jun 7, 2012, at 11:51 PM, 黄英才 <b1...@gmail.com> wrote:
>
> 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 黄英才 <b1...@gmail.com>
>
>> 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?
>>
>
>
>

Re: is Collation Server dosn't work?

Posted by Nick Berry <nb...@linkedin.com>.
what are you values for:
proxy.config.log.max_space_mb_for_logs
proxy.config.log.max_space_mb_headroom

On Jun 7, 2012, at 11:51 PM, 黄英才 <b1...@gmail.com>> wrote:

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 黄英才 <b1...@gmail.com>>
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<http://www.test.com/>"/>
<Filename = "www.test.com<http://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?



Re: is Collation Server dosn't work?

Posted by 黄英才 <b1...@gmail.com>.
put the custom logs_xml.config to collation server ? why?


2012/6/8 ming.zym@gmail.com <mi...@gmail.com>

> 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 黄英才 <b1...@gmail.com>
> >         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
>

Re: is Collation Server dosn't work?

Posted by "ming.zym@gmail.com" <mi...@gmail.com>.
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 黄英才 <b1...@gmail.com>
>         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

Re: is Collation Server dosn't work?

Posted by 黄英才 <b1...@gmail.com>.
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 黄英才 <b1...@gmail.com>

> 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?
>