logging
This commit is contained in:
parent
5289cc3698
commit
21dbce7488
2 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,6 @@ def fetch():
|
|||
mails = []
|
||||
r = requests.get(config.get(config.MAILER_URL) + "/mbox")
|
||||
if r.status_code == 200:
|
||||
logger.info("MAILER => " + str(r.json()))
|
||||
payload = r.json()
|
||||
if payload["count"] > 0:
|
||||
mails = payload["emails"]
|
||||
|
|
|
@ -57,6 +57,7 @@ def stacosys_server(config_pathname):
|
|||
logger = logging.getLogger(__name__)
|
||||
configure_logging(logging.INFO)
|
||||
logging.getLogger("werkzeug").level = logging.WARNING
|
||||
logging.getLogger("apscheduler.executors").level = logging.WARNING
|
||||
|
||||
# initialize database
|
||||
from core import database
|
||||
|
|
Loading…
Add table
Reference in a new issue