removed old code from linspector
This commit is contained in:
parent
877ece76a1
commit
00ddcac305
1 changed files with 1 additions and 13 deletions
|
|
@ -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 = logging.handlers.RotatingFileHandler(logfile, maxBytes=1024000, backupCount=4)
|
||||||
fileHandler.setLevel(logfileLevel)
|
fileHandler.setLevel(logfileLevel)
|
||||||
|
|
||||||
|
|
||||||
consoleFormatter = logging.Formatter('[%(levelname)s]: %(message)s')
|
consoleFormatter = logging.Formatter('[%(levelname)s]: %(message)s')
|
||||||
#TODO: if debug with file and function else without that
|
#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')
|
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.daemon = True
|
||||||
jsonrpc.start()
|
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)
|
LishFrontend(interface)
|
||||||
|
|
||||||
log.debug("shutting down scheduler")
|
log.debug("shutting down scheduler")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue