trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yun...@apache.org
Subject git commit: TS-2232: log level should be change from Status to Debug
Date Wed, 18 Sep 2013 02:58:16 GMT
Updated Branches:
  refs/heads/master 84094349f -> 1ec3990bf


TS-2232: log level should be change from Status to Debug


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

Branch: refs/heads/master
Commit: 1ec3990bf7c30b8a50764dce16d819ba76180a0d
Parents: 8409434
Author: Yu Qing <zhuangyuan@taobao.com>
Authored: Mon Sep 16 10:26:27 2013 +0800
Committer: Yunkai Zhang <qiushu.zyk@taobao.com>
Committed: Wed Sep 18 10:57:47 2013 +0800

----------------------------------------------------------------------
 CHANGES                    | 3 +++
 proxy/logging/LogConfig.cc | 2 +-
 proxy/logging/LogFile.cc   | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1ec3990b/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index f2e9fd4..510dc08 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.1.0
 
+  *) TS-2232: log level should be change from Status to Debug.
+    Author: Yu Qing <zhuangyuan@taobao.com>
+
   *) [TS-2201] split drainIncomingChannel two thread, one handle Broadcast message and other
handle Reliable(TCP)
    request for supporing large cluster.
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1ec3990b/proxy/logging/LogConfig.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogConfig.cc b/proxy/logging/LogConfig.cc
index d04fd48..8fc0ece 100644
--- a/proxy/logging/LogConfig.cc
+++ b/proxy/logging/LogConfig.cc
@@ -1608,7 +1608,7 @@ LogConfig::update_space_used()
         Note("Traffic Server was Unable to auto-delete rolled "
              "logfile %s: %s.", candidates[victim].name, strerror(errno));
       } else {
-        Status("The rolled logfile, %s, was auto-deleted; "
+        Debug("logspace", "The rolled logfile, %s, was auto-deleted; "
                "%" PRId64 " bytes were reclaimed.", candidates[victim].name, candidates[victim].size);
         m_space_used -= candidates[victim].size;
         m_partition_space_left += candidates[victim].size;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1ec3990b/proxy/logging/LogFile.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogFile.cc b/proxy/logging/LogFile.cc
index 68aa90c..4bbfefa 100644
--- a/proxy/logging/LogFile.cc
+++ b/proxy/logging/LogFile.cc
@@ -459,7 +459,7 @@ LogFile::roll(long interval_start, long interval_end)
   m_start_time = 0;
   m_bytes_written = 0;
 
-  Status("The logfile %s was rolled to %s.", m_name, roll_name);
+  Debug("log-file", "The logfile %s was rolled to %s.", m_name, roll_name);
 
   return 1;
 }


Mime
View raw message