[ 
https://issues.apache.org/jira/browse/TS-4947?focusedWorklogId=30586&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30586
 ]

ASF GitHub Bot logged work on TS-4947:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Oct/16 16:56
            Start Date: 13/Oct/16 16:56
    Worklog Time Spent: 10m 
      Work Description: GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/1104

    TS-4947: Fix log collation hosts configuration.

    In the Lua logging configuration, we were failing to correctly
    configure log collation hosts. The main fix is to simply return
    true when we actually succeeded.
    
    Fixed a bug in lua_scoped_stack where we failed to count the number
    of values we pushed, which messes up the stack on return.
    
    Updated the LogHost display to show failover hosts.
    
    Added some tests for the supported syntaxes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver fix/4947

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1104.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1104
    
----
commit bdfc697f5443410543dbca7c424cae3f9e7ea039
Author: James Peach <jpe...@apache.org>
Date:   2016-10-13T16:52:46Z

    TS-4947: Fix log collation hosts configuration.
    
    In the Lua logging configuration, we were failing to correctly
    configure log collation hosts. The main fix is to simply return
    true when we actually succeeded.
    
    Fixed a bug in lua_scoped_stack where we failed to count the number
    of values we pushed, which messes up the stack on return.
    
    Updated the LogHost display to show failover hosts.
    
    Added some tests for the supported syntaxes.

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 30586)
            Time Spent: 10m
    Remaining Estimate: 0h

> Collation Server is broken?
> ---------------------------
>
>                 Key: TS-4947
>                 URL: https://issues.apache.org/jira/browse/TS-4947
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 7.0.0
>            Reporter: bettydramit
>            Assignee: James Peach
>            Priority: Critical
>             Fix For: 7.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> from gitmaster(github.com/apache/trafficserver)
> config Collation Client 
> {code:xml}
> CONFIG proxy.config.url_remap.filename STRING remap.config
> CONFIG proxy.config.log.config.filename STRING logging.config
> CONFIG proxy.config.log.collation_host STRING 192.168.2.33
> CONFIG proxy.config.log.collation_secret STRING testlog
> LOCAL proxy.local.log.collation_mode INT 2
> CONFIG proxy.config.log.collation_port INT 8085
> {code}
> config Collation Server
> {code:xml}
> CONFIG proxy.local.log.collation_mode INT 1
> CONFIG proxy.config.log.collation_port INT 8085
> CONFIG proxy.config.log.collation_secret STRING testlog
> {code}
> logging.config
> {code:xml}
> w3c = format {
>   Format='%<cquuh> %<{Cdn-Real-Ip}cqh> - %<caun> [%<cqtn>] \"%<cqhm> %<cquuc> 
> %<cqhv>\" %<pssc> %<psql> \"%<{Referer}cqh>\" \"%<{user-agent}cqh>\" %<crc> 
> %<ttmsf> %<phi> %<sssc> %<cqtr> %<piid> %<pitag>'
> }
> log.ascii {
>   Filename = 'c11',
>   Format = w3c,
>   CollationHosts = { '192.168.2.33:8085' }
> }
> {code}
> It still flush log to local disk not to remote collation server



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to