Compare commits
No commits in common. "b9196db157484ef5a8d8b77989ec20cd1b396231" and "db211e73578ef5bc910374c6da9c2d52265b52c4" have entirely different histories.
b9196db157
...
db211e7357
2 changed files with 2 additions and 3 deletions
|
@ -41,7 +41,6 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
rootLogger = logging.getLogger()
|
rootLogger = logging.getLogger()
|
||||||
logger = logging.getLogger("hugvey")
|
logger = logging.getLogger("hugvey")
|
||||||
logger.setLevel(logging.DEBUG)
|
|
||||||
|
|
||||||
logFileHandler = logging.handlers.RotatingFileHandler(
|
logFileHandler = logging.handlers.RotatingFileHandler(
|
||||||
'./state/server.log',
|
'./state/server.log',
|
||||||
|
@ -58,7 +57,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
# logger.setLevel(1) # to send all records to cutelog
|
# logger.setLevel(1) # to send all records to cutelog
|
||||||
socket_handler = logging.handlers.SocketHandler('127.0.0.1', 19996) # default listening address
|
socket_handler = logging.handlers.SocketHandler('127.0.0.1', 19996) # default listening address
|
||||||
socket_handler.setLevel(logging.INFO) # In DEBUG the system cnnot keeop up and items start to move together
|
socket_handler.setLevel(logging.DEBUG) # OR should it be DEBUG? chaned to see difference in logging speed
|
||||||
rootLogger.addHandler(socket_handler)
|
rootLogger.addHandler(socket_handler)
|
||||||
logger.info("Start server")
|
logger.info("Start server")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue