Explicitly make the global config option rpc_num_old_logs an integer

Signed-off-by: Scott Zawalski <scottz@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3868 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpcserver_logging.py b/frontend/afe/rpcserver_logging.py
index a31d8a4..a8523fb 100644
--- a/frontend/afe/rpcserver_logging.py
+++ b/frontend/afe/rpcserver_logging.py
@@ -13,7 +13,8 @@
 def configure_logging():
     MAX_LOG_SIZE = config.get_config_value('SERVER', 'rpc_max_log_size_mb',
                                            type=int)
-    NUMBER_OF_OLD_LOGS = config.get_config_value('SERVER', 'rpc_num_old_logs')
+    NUMBER_OF_OLD_LOGS = config.get_config_value('SERVER', 'rpc_num_old_logs',
+                                                 type=int)
     log_path = config.get_config_value('SERVER', 'rpc_log_path')
 
     formatter = logging.Formatter(