fix logging: set root-logger, not local one (#362)

This commit is contained in:
Kim Neunert 2020-09-07 14:22:58 +02:00 committed by GitHub
parent 01ffbebe26
commit 1c41184672
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@
- [Using the Specter Desktop app](#using-the-specter-desktop-app)
- [Installing Specter from Pip](#installing-specter-from-pip)
- [Detailed instructions](#detailed-instructions)
- [Errors, doubts.. Read our FAQ!](#errors-doubts-read-our-faq)
- [A few screenshots](#a-few-screenshots)
- [Adding a new device](#adding-a-new-device)
- [Creating a new wallet](#creating-a-new-wallet)

View file

@ -189,7 +189,7 @@ def set_loglevel(app, loglevel_string):
"DEBUG" : logging.DEBUG
}
app.logger.setLevel(loglevels[loglevel_string])
logger.setLevel(loglevels[loglevel_string])
logging.getLogger().setLevel(loglevels[loglevel_string])
def get_loglevel(app):