You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/16 19:40:19 UTC

[jira] [Commented] (TS-2708) tcp_info plugin should use text logging API

    [ https://issues.apache.org/jira/browse/TS-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971709#comment-13971709 ] 

ASF subversion and git services commented on TS-2708:
-----------------------------------------------------

Commit d461c33e2050905bce86dc1eba59665ee879754b in trafficserver's branch refs/heads/master from [~jpeach@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=d461c33 ]

TS-2708: refactor and modernize the tcp_info plugin

Always build the tcp_info plugin, even if it doesn't end up doing
anything useful on the build platform. This is convenient for
development.

Only sample and log TCP metrics after it passes the sample threshold
to reduce unnecessary work.

Add IPv6 support. Use TS*Assert instead of assert. Remove the Config
global variable. Add a txn_close hook.

Use the text logging API rather than writing custom logs.


> tcp_info plugin should use text logging API
> -------------------------------------------
>
>                 Key: TS-2708
>                 URL: https://issues.apache.org/jira/browse/TS-2708
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Logging, Plugins
>            Reporter: James Peach
>            Assignee: James Peach
>            Priority: Minor
>             Fix For: 5.0.0
>
>
> The {{tcp_info}} plugin just writes its logs to a file itself. It should use the Traffic Server text logging API so that it gets log rotation for free and automatically locates logs in the correct logging directory (there's no API to get the Traffic Server log directory otherwise).



--
This message was sent by Atlassian JIRA
(v6.2#6252)