aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject incubator-aurora git commit: Remove duplicate call to log handling code. This duplicate call added another stderr handler to the logger which caused each message to be printed twice to stderr.
Date Thu, 06 Nov 2014 20:39:54 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master d01f0c382 -> 53c732df4


Remove duplicate call to log handling code. This duplicate call added another
stderr handler to the logger which caused each message to be printed twice to
stderr.

Bugs closed: AURORA-793

Reviewed at https://reviews.apache.org/r/27650/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/53c732df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/53c732df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/53c732df

Branch: refs/heads/master
Commit: 53c732df49ab9959ca9917abffb0fd6d3abbc203
Parents: d01f0c3
Author: Zameer Manji <zmanji@twopensource.com>
Authored: Thu Nov 6 12:39:32 2014 -0800
Committer: Bill Farner <wfarner@apache.org>
Committed: Thu Nov 6 12:39:32 2014 -0800

----------------------------------------------------------------------
 src/main/python/apache/aurora/client/cli/client.py | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/53c732df/src/main/python/apache/aurora/client/cli/client.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/cli/client.py b/src/main/python/apache/aurora/client/cli/client.py
index 22ce318..a1df788 100644
--- a/src/main/python/apache/aurora/client/cli/client.py
+++ b/src/main/python/apache/aurora/client/cli/client.py
@@ -11,11 +11,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-import logging
 import sys
 
 from apache.aurora.client.cli.bridge import Bridge, CommandProcessor
-from apache.aurora.client.cli.logsetup import setup_default_log_handlers
 from apache.aurora.client.cli.standalone_client import AuroraCommandLine
 
 
@@ -35,7 +33,6 @@ class AuroraClientV2CommandProcessor(CommandProcessor):
     return self.commandline.registered_nouns
 
   def execute(self, args):
-    setup_default_log_handlers(logging.INFO)
     return self.commandline.execute(args[1:])
 
 


Mime
View raw message