From 00ddcac305fca10bcb161d369dc995cf677ed3b7 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 21 Oct 2013 02:12:54 +0200 Subject: [PATCH] removed old code from linspector --- bin/linspector | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/bin/linspector b/bin/linspector index e54d377..e7a0e85 100755 --- a/bin/linspector +++ b/bin/linspector @@ -80,7 +80,6 @@ def setup_logging(logfile="./log/linspector.log", logLevel=logging.ERROR, logfil fileHandler = logging.handlers.RotatingFileHandler(logfile, maxBytes=1024000, backupCount=4) fileHandler.setLevel(logfileLevel) - consoleFormatter = logging.Formatter('[%(levelname)s]: %(message)s') #TODO: if debug with file and function else without that fileFormatter = logging.Formatter('%(asctime)s %(pathname)s %(module)s %(funcName)s %(lineno)d [%(levelname)s]: %(message)s') @@ -131,17 +130,6 @@ def main(): jsonrpc.daemon = True jsonrpc.start() - - #try: - # core["jsonrpc_backend"] - #except KeyError: - # log.debug("jsonrpc_backend not set in core") - #else: - # if core["jsonrpc_backend"]: - # jsonrpc = JsonrpcBackend(interface, core) - # jsonrpc.daemon = True - # jsonrpc.start() - LishFrontend(interface) log.debug("shutting down scheduler") @@ -150,4 +138,4 @@ def main(): if __name__ == "__main__": - main() + main() \ No newline at end of file