fix disabling of rpc_logging from global_config. when reading the rpc_logging config var, need to pass type=bool or it'll parse as the string "False" which, being non-empty, evaluates to True
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3680 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpcserver_logging.py b/frontend/afe/rpcserver_logging.py
index c00b4b9..5e97b3e 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')
+_LOGGING_ENABLED = config.get_config_value('SERVER', 'rpc_logging', type=bool)
MEGABYTE = 1024 * 1024