Repository: trafficserver
Updated Branches:
  refs/heads/master d389956c5 -> a5dd039c2


Remove log rolling overrides from the tcpinfo plugin

The default for plugin logs, is to take the global records.config
log settings. Let's just use those instead of doing it differently.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a5dd039c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a5dd039c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a5dd039c

Branch: refs/heads/master
Commit: a5dd039c22f8b7709094b295fb5bab1b0e9c9fa0
Parents: d389956
Author: James Peach <[email protected]>
Authored: Fri Apr 25 16:43:22 2014 -0700
Committer: James Peach <[email protected]>
Committed: Fri Apr 25 16:43:22 2014 -0700

----------------------------------------------------------------------
 doc/reference/plugins/tcpinfo.en.rst | 3 ---
 plugins/tcpinfo/tcpinfo.cc           | 4 ----
 2 files changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a5dd039c/doc/reference/plugins/tcpinfo.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/plugins/tcpinfo.en.rst 
b/doc/reference/plugins/tcpinfo.en.rst
index e2eef53..8dc87f4 100644
--- a/doc/reference/plugins/tcpinfo.en.rst
+++ b/doc/reference/plugins/tcpinfo.en.rst
@@ -26,9 +26,6 @@ processing pipeline. The TCP information is retrieved by the
 This is only supported on systems that support the ``TCP_INFO``
 option, currently Linux and BSD.
 
-Log rolling is enabled automatically, based on the
-:ts:cv:`proxy.config.log.rolling_size_mb` configuration variable.
-
 Plugin Options
 --------------
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a5dd039c/plugins/tcpinfo/tcpinfo.cc
----------------------------------------------------------------------
diff --git a/plugins/tcpinfo/tcpinfo.cc b/plugins/tcpinfo/tcpinfo.cc
index cad921e..b64ceb9 100644
--- a/plugins/tcpinfo/tcpinfo.cc
+++ b/plugins/tcpinfo/tcpinfo.cc
@@ -389,10 +389,6 @@ init:
 
   TSTextLogObjectHeaderSet(config->log, tcpi_headers[config->log_level - 1]);
 
-  // Enable log rolling. Unless we specify an explicit rolling period, the log 
will
-  // be rolled based on the size specified in proxy.config.log.rolling_size_mb.
-  TSTextLogObjectRollingEnabledSet(config->log, 1 /* rolling_enabled */);
-
   cont = TSContCreate(tcp_info_hook, NULL);
   TSContDataSet(cont, config);
 

Reply via email to