You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/09/19 22:59:54 UTC
[2/3] git commit: TS-3059: clip invalid log rolling size when it gets
set
TS-3059: clip invalid log rolling size when it gets set
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8bc3f7ed
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8bc3f7ed
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8bc3f7ed
Branch: refs/heads/master
Commit: 8bc3f7ed8f517145e355d37f64f4066dc272ec2e
Parents: 494344e
Author: James Peach <jp...@apache.org>
Authored: Fri Sep 19 13:47:02 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Fri Sep 19 13:59:16 2014 -0700
----------------------------------------------------------------------
proxy/logging/LogObject.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8bc3f7ed/proxy/logging/LogObject.h
----------------------------------------------------------------------
diff --git a/proxy/logging/LogObject.h b/proxy/logging/LogObject.h
index 07c90e7..917718c 100644
--- a/proxy/logging/LogObject.h
+++ b/proxy/logging/LogObject.h
@@ -180,7 +180,7 @@ public:
void set_rolling_size_mb(int rolling_size_mb)
{
- m_rolling_size_mb = rolling_size_mb;
+ _setup_rolling(m_rolling_enabled, m_rolling_interval_sec, m_rolling_offset_hr, rolling_size_mb);
}
bool is_collation_client() const { return (m_logFile ? false : true); }