cambiato livello debug

master
Emanuele Trabattoni 2019-10-01 10:13:29 +02:00
parent 949c6412d9
commit 3c726a8937
2 changed files with 22 additions and 23 deletions

42
.gitignore vendored
View File

@ -1,21 +1,21 @@
# Eclipse user settings directory # Eclipse user settings directory
.project .project
.pydevproject .pydevproject
.settings .settings
# VS Codium user settings directory # VS Codium user settings directory
.vscode .vscode
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
MkpWIFI/__pycache__/ MkpWIFI/__pycache__/
MkpWIFI/build/ MkpWIFI/build/
MkpWIFI/dist/ MkpWIFI/dist/
MkpWIFI/main.spec MkpWIFI/main.spec
MkpWIFI/*.dll MkpWIFI/*.dll
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
log log
__pycache__ __pycache__
build build
dist dist
main.spec main.spec

View File

@ -73,7 +73,7 @@ def subChars(s):
if __name__ == '__main__': if __name__ == '__main__':
# Setup Logger # Setup Logger
LOGGER = logging.getLogger(__name__) LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.DEBUG) LOGGER.setLevel(logging.INFO)
LOGGER.propagate = False LOGGER.propagate = False
FORMATTER = logging.Formatter(("%(asctime)s|%(levelname)-7s|%(funcName)-10s|%(lineno)-3d: %(message)-50s"), FORMATTER = logging.Formatter(("%(asctime)s|%(levelname)-7s|%(funcName)-10s|%(lineno)-3d: %(message)-50s"),
("%m-%d %H:%M:%S")) ("%m-%d %H:%M:%S"))
@ -89,6 +89,5 @@ if __name__ == '__main__':
LOGGER.addHandler(cl) LOGGER.addHandler(cl)
LOGGER.warning("MarcaturaDime Started!") LOGGER.warning("MarcaturaDime Started!")
sys.exit(main()) sys.exit(main())
pass pass