whoops, need to change both places that check the rpc_logging
variable. instead, just eliminate the duplication.
Signed-off-by: Steve Howard <showard@google.com>
whoops, need to change both places that check the rpc_logging variable. instead, just eliminate the duplication.
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3710 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpcserver_logging.py b/frontend/afe/rpcserver_logging.py
index 5e97b3e..a31d8a4 100644
--- a/frontend/afe/rpcserver_logging.py
+++ b/frontend/afe/rpcserver_logging.py
@@ -4,7 +4,7 @@
config = global_config.global_config
-_LOGGING_ENABLED = config.get_config_value('SERVER', 'rpc_logging', type=bool)
+LOGGING_ENABLED = config.get_config_value('SERVER', 'rpc_logging', type=bool)
MEGABYTE = 1024 * 1024
@@ -31,5 +31,5 @@
rpc_logger.setLevel(logging.DEBUG)
-if _LOGGING_ENABLED:
+if LOGGING_ENABLED:
configure_logging()