feat(chalice): changed email handler logging level

This commit is contained in:
Taha Yassine Kraiem 2023-02-03 13:27:55 +01:00
parent 1db2b3c511
commit 535bcf9274

View file

@ -10,6 +10,10 @@ from decouple import config
from chalicelib.utils import smtp
loglevel = config("LOGLEVEL", default=logging.INFO)
print(f">Loglevel set to: {loglevel}")
logging.basicConfig(level=loglevel)
def __get_subject(subject):
return subject