logging and updata registers file
This commit is contained in:
@ -17,7 +17,7 @@ import logging
|
||||
if __name__ == "__main__":
|
||||
config = Config.Config()
|
||||
|
||||
logger = logging.getLogger(config.appName)
|
||||
logger = logging.getLogger()
|
||||
logger.setLevel(logging.DEBUG)
|
||||
fh = logging.FileHandler(config.logFile)
|
||||
fh.setLevel(logging.DEBUG)
|
||||
@ -57,4 +57,4 @@ if __name__ == "__main__":
|
||||
|
||||
cs = CmdServer.CmdServer(config, nf, datapoints)
|
||||
cs.start()
|
||||
logger.debug('CmdServer started')
|
||||
logger.debug('CmdServer started')
|
||||
|
Reference in New Issue
Block a user